ansible/playbooks/router_setup.yml
2024-06-09 00:14:25 +02:00

11 lines
288 B
YAML

- hosts: router
name: Setup router
ignore_unreachable: false
tasks:
- name: Upload service config
ansible.builtin.copy:
src: conf/router/dnsmasq.conf.add
dest: /jffs/configs/
- name: Restart dnsmasq
ansible.builtin.shell: service restart_dnsmasq