added nginx role
This commit is contained in:
10
roles/nginx/tasks/nginx.yml
Normal file
10
roles/nginx/tasks/nginx.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
- name: Install nginx
|
||||
package:
|
||||
name: nginx
|
||||
state: present
|
||||
|
||||
- name: Enable nginx
|
||||
service:
|
||||
name: nginx
|
||||
state: started
|
||||
enabled: yes
|
||||
Reference in New Issue
Block a user