diff --git a/handlers/main.yml b/handlers/main.yml index 326cfd96..8e31053 100644 --- a/handlers/main.yml +++ b/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/tasks/ceph_auth.yml b/tasks/ceph_auth.yml index b85c5e0..a291b07 100644 --- a/tasks/ceph_auth.yml +++ b/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/tasks/ceph_install_apt.yml b/tasks/ceph_install_apt.yml index 3fadbb9..ee7ea89 100644 --- a/tasks/ceph_install_apt.yml +++ b/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: