]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
site.yml: move validate task to it's own play
authorAndrew Schoen <aschoen@redhat.com>
Fri, 13 Apr 2018 15:55:38 +0000 (10:55 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 18 May 2018 15:58:24 +0000 (17:58 +0200)
This needs to be in it's own play with ceph-defaults included
so that I can validate things that might be defaulted in that
role.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
site.yml.sample

index 9162b8b10313b0a028160cf2b4e11cd016fae642..d69482989efa6ff41d49e8fd939452635cb3710d 100644 (file)
         - 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
+
+  roles:
+    - ceph-defaults
+
+  tasks:
     - name: validate vars
       validate:
         mode: permissive
 
+    - fail:
+        msg: "failing for testing"
+
 - hosts: mons
   gather_facts: false
   become: True