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
|
mode: u=rw,g=r,o=r
|
||||||
src: "{{ role_path }}/templates/host.conf.j2"
|
src: "{{ role_path }}/templates/host.conf.j2"
|
||||||
dest: /srv/dnsmasq/{{ dnsmasq_client_filename }}.conf
|
dest: /srv/dnsmasq/{{ dnsmasq_client_filename }}.conf
|
||||||
when:
|
when: dnsmasq_servers | length > 0
|
||||||
- dnsmasq_servers | length > 0
|
|
||||||
- dnsmasq_host_ipv4 not in dnsmasq_servers
|
|
||||||
tags: creation
|
tags: creation
|
||||||
loop: "{{ dnsmasq_servers }}"
|
loop: "{{ dnsmasq_servers }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
@ -23,9 +21,7 @@
|
|||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: /srv/dnsmasq/{{ dnsmasq_client_filename }}.conf
|
path: /srv/dnsmasq/{{ dnsmasq_client_filename }}.conf
|
||||||
state: absent
|
state: absent
|
||||||
when:
|
when: dnsmasq_servers | length > 0
|
||||||
- dnsmasq_servers | length > 0
|
|
||||||
- dnsmasq_host_ipv4 not in dnsmasq_servers
|
|
||||||
tags: [destruction, never]
|
tags: [destruction, never]
|
||||||
loop: "{{ dnsmasq_servers }}"
|
loop: "{{ dnsmasq_servers }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
|
Loading…
Reference in New Issue
Block a user