systemd_networkd(role): reload systemd-network on config change
Some checks failed
/ Ansible Lint (push) Failing after 49s
Some checks failed
/ Ansible Lint (push) Failing after 49s
This commit is contained in:
parent
e3c12b18e8
commit
06d8944ad7
2 changed files with 6 additions and 0 deletions
5
roles/systemd_networkd/handlers/main.yaml
Normal file
5
roles/systemd_networkd/handlers/main.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
- name: Reload systemd-networkd service
|
||||
ansible.builtin.systemd_service:
|
||||
name: systemd-networkd
|
||||
state: reloaded
|
||||
become: true
|
|
@ -12,3 +12,4 @@
|
|||
recursive: true
|
||||
delete: true
|
||||
become: true
|
||||
notify: Reload systemd-networkd service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue