Skip to content

Commit

Permalink
move tgt restart to tgt reload on etc/tgt/conf.d/cinder.conf change
Browse files Browse the repository at this point in the history
  • Loading branch information
rackerchris committed Dec 20, 2024
1 parent 9a64de5 commit 20cbf3b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ansible/playbooks/deploy-cinder-volumes-reference.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@
- cinder-volume
- cinder-volume-usage-audit
- iscsid.service
- name: Reload cinder-volume-tgt systemd service
ansible.builtin.systemd:
name: "{{ item }}"
state: reloaded
daemon_reload: true
enabled: true
loop:
- tgt.service
tasks:
- name: K8S Facts block
Expand Down Expand Up @@ -219,6 +226,9 @@
owner: root
group: root
mode: "0644"
notify:
- Reload cinder-volume-tgt systemd service


- name: Remove cinder conf staging file
ansible.builtin.file:
Expand Down

0 comments on commit 20cbf3b

Please sign in to comment.