- (not (inventory_hostname in groups.get('clients', [])) or (inventory_hostname == groups.get('clients', [''])|first))
- hosts: mons
+ any_errors_fatal: true
tasks:
- name: set ceph monitor install 'In Progress'
run_once: true
start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
- hosts: mons
+ any_errors_fatal: true
become: True
gather_facts: false
roles:
serial: 1 # MUST be '1' WHEN DEPLOYING MONITORS ON DOCKER CONTAINERS
- hosts: mons
+ any_errors_fatal: true
tasks:
- name: set ceph monitor install 'Complete'
run_once: true
end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
- hosts: mgrs
+ any_errors_fatal: true
become: True
gather_facts: false
pre_tasks:
end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
- hosts: osds
+ any_errors_fatal: true
become: True
gather_facts: false
pre_tasks:
end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
- hosts: mdss
+ any_errors_fatal: true
become: True
gather_facts: false
pre_tasks:
end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
- hosts: rgws
+ any_errors_fatal: true
become: True
gather_facts: false
pre_tasks:
end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
- hosts: nfss
+ any_errors_fatal: true
become: True
gather_facts: false
pre_tasks:
end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
- hosts: rbdmirrors
+ any_errors_fatal: true
become: True
gather_facts: false
pre_tasks:
end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
- hosts: restapis
+ any_errors_fatal: true
become: True
gather_facts: false
pre_tasks:
end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
- hosts: clients
+ any_errors_fatal: true
become: True
gather_facts: false
pre_tasks:
- hosts:
- iscsigws
- iscsi-gws # for backward compatibility only!
+ any_errors_fatal: true
gather_facts: false
become: True
pre_tasks:
end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
- hosts: mons
+ any_errors_fatal: true
gather_facts: false
become: True
tasks:
msg: "{{ ceph_status.stdout_lines }}"
delegate_to: "{{ groups['mons'][0] }}"
run_once: true
- when: not ceph_status.failed
+ when: not ceph_status.failed
\ No newline at end of file