diff --git a/roles/ceph/handlers/main.yaml b/roles/ceph/handlers/main.yaml index 7c3aa30..be3df28 100644 --- a/roles/ceph/handlers/main.yaml +++ b/roles/ceph/handlers/main.yaml @@ -12,7 +12,7 @@ delegate_to: 127.0.0.1 shell: cmd: monmaptool --add {{ item.name }} {{ item.ip }} {{ ceph_mon_map }} - loop: "{{ lookup('template', '../files/ceph/ceph.monitors.tpl') | from_yaml | default([]) }}" + loop: "{{ lookup('template', 'ceph.monitors.j2') | from_yaml | default([]) }}" - name: Restart Ceph systemd: diff --git a/roles/ceph/tasks/main.yaml b/roles/ceph/tasks/main.yaml index 15c4421..4bea4c3 100644 --- a/roles/ceph/tasks/main.yaml +++ b/roles/ceph/tasks/main.yaml @@ -47,7 +47,7 @@ copy: src: ceph.asc dest: /etc/apt/keyrings/ansible-ceph.asc - notify: Update apt + #notify: Update apt when: 'ceph_roles|length > 0 and ceph_release != "distro"' - name: Get DPKG architecture