16 lines
358 B
YAML
16 lines
358 B
YAML
---
|
|
- 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
|
|
|
|
- name: Enable ifstated
|
|
ansible.builtin.service:
|
|
name: ifstated
|
|
state: started
|
|
enabled: true
|