ansible-infra/roles/common/handlers/main.yml

8 lines
167 B
YAML

- name: restart openssh
service:
name: ssh
state: restarted
- name: reload nginx
include_tasks: ../handlers/nginx.yml
when: nginx_started is not changed