ifstated: Validate config before restarting
This commit is contained in:
parent
18a4c592ce
commit
37ef5eb504
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
||||||
mode: 0644
|
mode: 0644
|
||||||
owner: root
|
owner: root
|
||||||
group: "{{ ansible_wheel }}"
|
group: "{{ ansible_wheel }}"
|
||||||
|
validate: "ifstated -n -f %s"
|
||||||
notify: restart ifstated
|
notify: restart ifstated
|
||||||
|
|
||||||
- name: enable ifstated
|
- name: enable ifstated
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue