diff --git a/playbooks/roles/ceph_client/handlers/main.yml b/playbooks/roles/ceph_client/handlers/main.yml index 326cfd96b0..8e31053edd 100644 --- a/playbooks/roles/ceph_client/handlers/main.yml +++ b/playbooks/roles/ceph_client/handlers/main.yml @@ -18,7 +18,7 @@ state: restarted pattern: "{{ item.1 }}" with_subelements: - - ceph_components + - "{{ ceph_components }}" - service when: inventory_hostname in groups[item.0.component] failed_when: false diff --git a/playbooks/roles/ceph_client/tasks/ceph_auth.yml b/playbooks/roles/ceph_client/tasks/ceph_auth.yml index b85c5e0f64..a291b0792b 100644 --- a/playbooks/roles/ceph_client/tasks/ceph_auth.yml +++ b/playbooks/roles/ceph_client/tasks/ceph_auth.yml @@ -24,7 +24,7 @@ # output to put in a keyring; ceph admin should have already created the user shell: ceph auth get client.{{ item.1 }} >/dev/null && ceph auth get-or-create client.{{ item.1 }} with_subelements: - - ceph_components + - "{{ ceph_components }}" - client when: > inventory_hostname in groups[item.0.component] and diff --git a/playbooks/roles/ceph_client/tasks/ceph_install_apt.yml b/playbooks/roles/ceph_client/tasks/ceph_install_apt.yml index 3fadbb985f..ee7ea89907 100644 --- a/playbooks/roles/ceph_client/tasks/ceph_install_apt.yml +++ b/playbooks/roles/ceph_client/tasks/ceph_install_apt.yml @@ -39,7 +39,7 @@ retries: 5 delay: 2 with_subelements: - - ceph_components + - "{{ ceph_components }}" - package when: inventory_hostname in groups[item.0.component] notify: