From: Andrew Schoen Date: Tue, 15 May 2018 18:01:54 +0000 (-0500) Subject: site.yml: combine validate play with fact gathering play X-Git-Tag: v3.2.0beta1~94 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c40ed1c66b469e9a227f2fa37907c94fc0ac32ad;p=ceph-ansible.git site.yml: combine validate play with fact gathering play Signed-off-by: Andrew Schoen --- diff --git a/site.yml.sample b/site.yml.sample index 0bca0b3e4..691feb2c6 100644 --- a/site.yml.sample +++ b/site.yml.sample @@ -15,6 +15,8 @@ - iscsi-gws gather_facts: false + any_errors_fatal: true + become: true tags: - always @@ -22,7 +24,7 @@ vars: delegate_facts_host: True - tasks: + pre_tasks: # If we can't get python2 installed before any module is used we will fail # so just try what we can to get it installed - name: check for python2 @@ -69,27 +71,11 @@ - ansible_distribution == 'Fedora' - ansible_distribution_major_version|int >= 23 -- hosts: - - mons - - agents - - osds - - mdss - - rgws - - nfss - - restapis - - rbdmirrors - - clients - - mgrs - - iscsi-gws - - gather_facts: false - any_errors_fatal: true - become: true - roles: - ceph-defaults - ceph-validate + - hosts: mons gather_facts: false become: True