Ignore error when killall dnsmasq

The system may not currently be running a dnsmasq process
which would cause this task to fail.

Change-Id: I405700a6d3a9d8c29b9e999a7ea7f87aa2977617
This commit is contained in:
Mark Hamzy 2017-04-09 18:41:48 -05:00
parent b712459419
commit fd07db1182

View File

@ -49,6 +49,7 @@
- name: "Stop existing libvirt dnsmasq processes"
command: killall -w dnsmasq
when: "{{ testing | bool == true and include_dhcp_server | bool == true }}"
ignore_errors: yes
- name: "Ensure services are running with current config"
service: name={{ item }} state=restarted enabled=yes