From cd1266ff162f125d6538c15566e9832b025d57fa Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Sat, 18 May 2024 21:17:48 +0200 Subject: [PATCH] fix paths in ceph role and comment apt handler invocation Signed-off-by: Markus Katharina Brechtel --- roles/ceph/handlers/main.yaml | 2 +- roles/ceph/tasks/main.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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