init
This commit is contained in:
15
roles/install-nginx/tasks/main.yml
Normal file
15
roles/install-nginx/tasks/main.yml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
- name: Install Nginx
|
||||
apt:
|
||||
pkg:
|
||||
- nginx
|
||||
- certbot
|
||||
- python3-certbot-nginx
|
||||
|
||||
- name: Enable Nginx service
|
||||
systemd:
|
||||
name: nginx
|
||||
daemon_reload: yes
|
||||
enabled: yes
|
||||
state: started
|
||||
|
Reference in New Issue
Block a user