blob: 5178c14e3521b9bdb67c2e06852bfac02229989e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
---
# INPUT r_etcd_upgrade_action
- name: Fail if invalid etcd_upgrade_action provided
fail:
msg: "etcd_upgrade role can only be called with 'upgrade' or 'backup'"
when:
- r_etcd_upgrade_action not in ['upgrade', 'backup']
- name: Detecting Atomic Host Operating System
stat:
path: /run/ostree-booted
register: l_ostree_booted
- include: "{{ r_etcd_upgrade_action }}.yml"
|