Skip to content

Commit

Permalink
do not change dnsmasq.servers at ensure stage
Browse files Browse the repository at this point in the history
  • Loading branch information
panli889 committed May 30, 2016
1 parent a6d1b54 commit 8e71dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playbooks/roles/dnsmasq/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

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

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

0 comments on commit 8e71dbb

Please sign in to comment.