Commit bc9278a4 authored by Joanne Hugé's avatar Joanne Hugé

playbook/ors: ignore errors when disabling dnsmasq in case it is not installed

parent f6172f73
...@@ -124,6 +124,7 @@ ...@@ -124,6 +124,7 @@
- name: Disable dnsmasq service - name: Disable dnsmasq service
systemd: name=dnsmasq.service enabled=no state=stopped systemd: name=dnsmasq.service enabled=no state=stopped
ignore_errors: yes
- name: Disable DNS stub resolver - name: Disable DNS stub resolver
lineinfile: dest=/etc/systemd/resolved.conf regexp="(.*)DNSStubListener=(.*)" line="DNSStubListener=no" state=present lineinfile: dest=/etc/systemd/resolved.conf regexp="(.*)DNSStubListener=(.*)" line="DNSStubListener=no" state=present
......
9cdce568729d51121dbd43c0294318a4d91883fff29554555b8a81c1c11fbdca - aa42c27685d0638e782967060d77a07044c179046043128fc712d5880dda1383 -
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment