17 lines
355 B
YAML
17 lines
355 B
YAML
|
- name: Install updatelist conf
|
||
|
register: updatelist
|
||
|
ansible.builtin.copy:
|
||
|
src: "pihole-updatelists.conf"
|
||
|
dest: "/etc/pihole-updatelists.conf"
|
||
|
mode: "0644"
|
||
|
owner: "root"
|
||
|
group: "root"
|
||
|
become: true
|
||
|
|
||
|
- name: Activate changes
|
||
|
when: updatelist.changed
|
||
|
become: true
|
||
|
ansible.builtin.command:
|
||
|
argv:
|
||
|
- pihole-updatelists
|