fix: reorder handler for right execution order
This commit is contained in:
parent
fc26ec4745
commit
f6e152c313
@ -1,11 +1,12 @@
|
|||||||
---
|
---
|
||||||
- name: "Restart Teleport"
|
|
||||||
ansible.builtin.service:
|
|
||||||
name: teleport
|
|
||||||
state: restarted
|
|
||||||
when: ansible_service_mgr == "systemd"
|
|
||||||
|
|
||||||
- name: "Reload systemd"
|
- name: "Reload systemd"
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
daemon_reload: true
|
daemon_reload: true
|
||||||
when: ansible_service_mgr == "systemd"
|
when: ansible_service_mgr == "systemd"
|
||||||
|
|
||||||
|
- name: "Restart Teleport"
|
||||||
|
ansible.builtin.service:
|
||||||
|
name: teleport
|
||||||
|
state: restarted
|
||||||
|
failed_when: false
|
||||||
|
when: ansible_service_mgr == "systemd"
|
||||||
|
Loading…
Reference in New Issue
Block a user