]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Fix restapi invocation 314/head
authorleseb <seb@redhat.com>
Fri, 3 Jul 2015 16:46:57 +0000 (18:46 +0200)
committerleseb <seb@redhat.com>
Fri, 3 Jul 2015 16:46:57 +0000 (18:46 +0200)
Hopefully for good this time...

Signed-off-by: leseb <seb@redhat.com>
site.yml

index edc85b3cca6d721a3f27c93fb6849d6ef69a0cd7..faaeab4f1e80b063e0c3b6201d4234808ea2ddb8 100644 (file)
--- a/site.yml
+++ b/site.yml
@@ -5,7 +5,7 @@
   sudo: True
   roles:
   - ceph-mon
-  - { role: ceph-restapi, when: restapi_group_name is defined }
+  - { role: ceph-restapi, when: restapi_group_name is defined and restapi_group_name in group_names }
 
 - hosts: osds
   sudo: True