role_dnsmasq/handlers/main.yml

19 lines
400 B
YAML
Raw Normal View History

2022-10-03 15:20:34 +00:00
---
# handlers file for dnsmasq
- name: Recharger dnsmasq.service
become: true
ansible.builtin.systemd:
state: reloaded
name: dnsmasq.service
- name: Recharger dnsmasq.service sur les serveurs
become: true
ansible.builtin.systemd:
state: reloaded
name: dnsmasq.service
loop: "{{ dnsmasq_servers }}"
loop_control:
loop_var: dnsserver
delegate_to: "{{ dnsserver }}"