Initial commit
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Validate nginx configuration
|
||||
ansible.builtin.command: nginx -t
|
||||
changed_when: false
|
||||
become: true
|
||||
|
||||
- name: Reload nginx
|
||||
ansible.builtin.service:
|
||||
name: nginx
|
||||
state: reloaded
|
||||
become: true
|
||||
Reference in New Issue
Block a user