medium10 pts · first answer countsansibleconfiguration-management
When Ansible handlers run
In this playbook, when does the restart nginx handler run?
tasks:
- name: Deploy nginx config
template:
src: nginx.conf.j2
dest: /etc/nginx/nginx.conf
notify: restart nginx
handlers:
- name: restart nginx
service: { name: nginx, state: restarted }Discussion 0
Join free to post in the discussion.