role_dnsmasq/handlers/main.yml

19 lines
398 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
2024-05-06 18:20:59 +00:00
loop: "{{ dnsmasq_hosts }}"
2022-10-03 15:20:34 +00:00
loop_control:
loop_var: dnsserver
delegate_to: "{{ dnsserver }}"