Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
284 B

---
- name: reload nginx
command: nginx -t
notify: really reload nginx
- name: really reload nginx
service: name=nginx state=reloaded
- name: restart nginx
command: nginx -t
notify: really restart nginx
- name: really restart nginx
service: name=nginx state=restarted