roles/nginx: Add role for nginx
This role installs nginx and provides a base/skeleton configuration suitable for most deployments.
This commit is contained in:
7
roles/nginx/handlers/main.yml
Normal file
7
roles/nginx/handlers/main.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- name: reload nginx
|
||||
service:
|
||||
name=nginx
|
||||
state=reloaded
|
||||
- name: save firewalld configuration
|
||||
command:
|
||||
firewall-cmd --runtime-to-permanent
|
||||
Reference in New Issue
Block a user