Compare commits
No commits in common. "712b394e8d08fbeb2684db3a970f1b09c1ee3861" and "db48a99f30e15614a6203ec0fe342fe0209c24ae" have entirely different histories.
712b394e8d
...
db48a99f30
@ -8,9 +8,7 @@
|
||||
mode: u=rw,g=r,o=r
|
||||
src: "{{ role_path }}/templates/host.conf.j2"
|
||||
dest: /srv/dnsmasq/{{ dnsmasq_client_filename }}.conf
|
||||
when:
|
||||
- dnsmasq_servers | length > 0
|
||||
- dnsmasq_host_ipv4 not in dnsmasq_servers
|
||||
when: dnsmasq_servers | length > 0
|
||||
tags: creation
|
||||
loop: "{{ dnsmasq_servers }}"
|
||||
loop_control:
|
||||
@ -23,9 +21,7 @@
|
||||
ansible.builtin.file:
|
||||
path: /srv/dnsmasq/{{ dnsmasq_client_filename }}.conf
|
||||
state: absent
|
||||
when:
|
||||
- dnsmasq_servers | length > 0
|
||||
- dnsmasq_host_ipv4 not in dnsmasq_servers
|
||||
when: dnsmasq_servers | length > 0
|
||||
tags: [destruction, never]
|
||||
loop: "{{ dnsmasq_servers }}"
|
||||
loop_control:
|
||||
|
Loading…
Reference in New Issue
Block a user