Skip to content

Commit 8e71dbb

Browse files
committed
do not change dnsmasq.servers at ensure stage
1 parent a6d1b54 commit 8e71dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playbooks/roles/dnsmasq/tasks/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
- name: ensure /etc/dnsmasq.servers
2121
template: src=dnsmasq.servers.conf.j2 dest=/etc/dnsmasq.servers
22-
when: result|success
22+
when: result|success and bootstrapping|bool
2323

2424
- name: ensure /etc/dnsmasq.servers
2525
file: path="{{ dnsmasq_servers_path }}" state=touch

0 commit comments

Comments
 (0)