Skip to content

Commit

Permalink
fix paths in ceph role and comment apt handler invocation
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Katharina Brechtel <[email protected]>
  • Loading branch information
mkbrechtel committed May 18, 2024
1 parent 23f2e38 commit cd1266f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/ceph/handlers/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion roles/ceph/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd1266f

Please sign in to comment.