add dnsmasq

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2025-11-22 20:33:33 +01:00
commit 429fa32be0
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
3 changed files with 43 additions and 1 deletions

View file

@ -29,4 +29,14 @@
name: "update_repo_two"
user: "root"
minute: "*/5"
job: "cd /opt/two && git pull > /var/log/git-pull.log 2>&1"
job: "cd /opt/two && git pull > /var/log/git-pull.log 2>&1"
- name: deploy dnsmasq
ansible.builtin.template:
src: etc/systemd/system/dnsmasq.j2
dest: "/etc/systemd/system/dnsmasq@.service"
- name: deploy dnsmasq in netns
ansible.builtin.template:
src: usr/local/bin/run-dnsmasq-in-netns.sh.j2
dest: "/usr/local/bin/run-dnsmasq-in-netns.sh"