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 - name: Restart ifstated
service: ansible.builtin.service:
name: ifstated name: ifstated
state: restarted state: restarted

View file

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