import du dossier ansible
This commit is contained in:
4
roles/nginx/README.md
Normal file
4
roles/nginx/README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
Install Nginx Server
|
||||
=======
|
||||
|
||||
Install Nginx Server with Certbot plugins if installCertbot is true in defaults directory.
|
||||
2
roles/nginx/defaults/main.yml
Normal file
2
roles/nginx/defaults/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
installCertbot: False
|
||||
9
roles/nginx/tasks/main.yml
Normal file
9
roles/nginx/tasks/main.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: Install Nginx
|
||||
apt:
|
||||
name: nginx-full
|
||||
|
||||
- name: install Certbot Nginx plugin
|
||||
apt:
|
||||
name: python3-certbot-nginx
|
||||
when: installCertbot == True
|
||||
Reference in New Issue
Block a user