aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nginx/handlers/main.yml
blob: 7732673d95147bb86bdfcf5130766e5d27fc6b23 (plain)
1
2
3
4
5
6
7
8
9
---
- name: nginx test
  command: nginx -t

- name: nginx reload
  command: nginx -s reload

- name: nginx restart
  service: name=nginx state=restarted enabled=yes