ansible/roles/common/handlers/main.yaml

13 lines
265 B
YAML

---
- name: "restart resolv"
service:
name: "{{ resolv_service_name }}"
state: restarted
when: resolv_service_name is defined
- name: restart cron
service:
name: "{{ cron_service_name }}"
state: restarted
when: cron_service_name is defined