add dnsmasq and reload demon

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2025-11-23 21:30:58 +01:00
commit 914c13d5a0
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
3 changed files with 15 additions and 0 deletions

View file

@ -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: