2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-25 16:08:23 +00:00

21 lines
463 B
YAML
Raw Normal View History

2017-08-29 12:21:06 +05:30
---
2018-02-05 15:07:14 +05:30
- name: Check NetworkManager.conf exists
2017-08-29 12:21:06 +05:30
stat:
path: /etc/NetworkManager/NetworkManager.conf
register: result
2018-02-05 15:07:14 +05:30
- name: Unmask NetworkManager service
2017-08-29 12:21:06 +05:30
command: systemctl unmask NetworkManager
when: result.stat.exists
2018-02-05 15:07:14 +05:30
- name: Add dnsmasq to network config
2017-08-29 12:21:06 +05:30
lineinfile: >
dest=/etc/NetworkManager/NetworkManager.conf
regexp="dns="
line="dns=dnsmasq"
state=present
when: result.stat.exists
notify:
- restart network manager
2018-02-05 15:07:14 +05:30
...