mirror of https://github.com/ceph/ceph-ansible.git
set any_errors_fatal to true for all host sections
Add `any_errors_fatal: true` to all host sections in `site.yml.sample` and `site-container.yml.sample` so that the playbook execution ceases spontaneously and instantaneously when errors occurs. Signed-off-by: Rishabh Dave <ridave@redhat.com>pull/3459/head
parent
f99a875b7f
commit
5f43dae593
|
@ -89,6 +89,7 @@
|
||||||
- (not (inventory_hostname in groups.get('clients', [])) or (inventory_hostname == groups.get('clients', [''])|first))
|
- (not (inventory_hostname in groups.get('clients', [])) or (inventory_hostname == groups.get('clients', [''])|first))
|
||||||
|
|
||||||
- hosts: mons
|
- hosts: mons
|
||||||
|
any_errors_fatal: true
|
||||||
tasks:
|
tasks:
|
||||||
- name: set ceph monitor install 'In Progress'
|
- name: set ceph monitor install 'In Progress'
|
||||||
run_once: true
|
run_once: true
|
||||||
|
@ -122,6 +123,7 @@
|
||||||
name: ceph-mgr
|
name: ceph-mgr
|
||||||
|
|
||||||
- hosts: mons
|
- hosts: mons
|
||||||
|
any_errors_fatal: true
|
||||||
tasks:
|
tasks:
|
||||||
- name: set ceph monitor install 'Complete'
|
- name: set ceph monitor install 'Complete'
|
||||||
run_once: true
|
run_once: true
|
||||||
|
@ -134,6 +136,7 @@
|
||||||
- hosts: mgrs
|
- hosts: mgrs
|
||||||
become: True
|
become: True
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
|
any_errors_fatal: true
|
||||||
tasks:
|
tasks:
|
||||||
# pre-tasks for following imports -
|
# pre-tasks for following imports -
|
||||||
- name: set ceph manager install 'In Progress'
|
- name: set ceph manager install 'In Progress'
|
||||||
|
@ -451,6 +454,7 @@
|
||||||
- hosts: mons
|
- hosts: mons
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
become: True
|
become: True
|
||||||
|
any_errors_fatal: true
|
||||||
tasks:
|
tasks:
|
||||||
- import_role:
|
- import_role:
|
||||||
name: ceph-defaults
|
name: ceph-defaults
|
||||||
|
|
|
@ -478,6 +478,7 @@
|
||||||
- hosts: mons
|
- hosts: mons
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
become: True
|
become: True
|
||||||
|
any_errors_fatal: true
|
||||||
tasks:
|
tasks:
|
||||||
- import_role:
|
- import_role:
|
||||||
name: ceph-defaults
|
name: ceph-defaults
|
||||||
|
|
Loading…
Reference in New Issue