nginx
This commit is contained in:
parent
fbd73f14c4
commit
9d61eaba15
5
roles/nginx/handlers/main.yml
Normal file
5
roles/nginx/handlers/main.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: restart nginx
|
||||
service:
|
||||
name: nginx
|
||||
state: restarted
|
10
roles/nginx/tasks/main.yml
Normal file
10
roles/nginx/tasks/main.yml
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
- name: apt update
|
||||
apt:
|
||||
update_cache: yes
|
||||
cache_valid_time: 3600
|
||||
|
||||
- name: Install nginx
|
||||
apt:
|
||||
pkg:
|
||||
- nginx
|
Loading…
x
Reference in New Issue
Block a user