diff --git a/site-container.yml.sample b/site-container.yml.sample index 3935f9b20..d91da87b1 100644 --- a/site-container.yml.sample +++ b/site-container.yml.sample @@ -121,7 +121,7 @@ name: ceph-mon - import_role: name: ceph-mgr - when: groups.get(mgr_group_name, []) | length == 0 + when: groups.get(mgr_group_name, []) | length == 0 or mgr_group_name in group_names - hosts: mons gather_facts: false diff --git a/site.yml.sample b/site.yml.sample index e5bd9de61..47465521e 100644 --- a/site.yml.sample +++ b/site.yml.sample @@ -116,7 +116,7 @@ name: ceph-mon - import_role: name: ceph-mgr - when: groups.get(mgr_group_name, []) | length == 0 + when: groups.get(mgr_group_name, []) | length == 0 or mgr_group_name in group_names post_tasks: - name: set ceph monitor install 'Complete'