ifstated: ansible-lint fixes

This commit is contained in:
Timo Makinen 2022-10-29 18:38:22 +00:00
parent 560587d612
commit 527649253b
2 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,5 @@
---
- name: restart ifstated
service:
- name: Restart ifstated
ansible.builtin.service:
name: ifstated
state: restarted

View file

@ -1,16 +1,16 @@
---
- name: copy ifstated config
template:
- name: Copy ifstated config
ansible.builtin.template:
dest: /etc/ifstated.conf
src: "{{ ifstated_config }}"
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
# validate: "ifstated -n -f %s"
notify: restart ifstated
notify: Restart ifstated
- name: enable ifstated
service:
- name: Enable ifstated
ansible.builtin.service:
name: ifstated
state: started
enabled: true