add dnsmasq and reload demon
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
429fa32be0
commit
914c13d5a0
3 changed files with 15 additions and 0 deletions
|
|
@ -31,10 +31,19 @@
|
|||
minute: "*/5"
|
||||
job: "cd /opt/two && git pull > /var/log/git-pull.log 2>&1"
|
||||
|
||||
- name: disable and stop dnsmasq
|
||||
ansible.builtin.systemd:
|
||||
name: "dnsmasq.service"
|
||||
enabled: False
|
||||
state: "stopped"
|
||||
masked: true
|
||||
notify: systemctl daemon-reload
|
||||
|
||||
- name: deploy dnsmasq
|
||||
ansible.builtin.template:
|
||||
src: etc/systemd/system/dnsmasq.j2
|
||||
dest: "/etc/systemd/system/dnsmasq@.service"
|
||||
notify: systemctl daemon-reload
|
||||
|
||||
- name: deploy dnsmasq in netns
|
||||
ansible.builtin.template:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue