17 lines
273 B
YAML
17 lines
273 B
YAML
---
|
|
- name: Install Nginx
|
|
apt:
|
|
name: nginx-full
|
|
|
|
- name: install Certbot Nginx plugin
|
|
apt:
|
|
name:
|
|
- certbot
|
|
- python3-certbot-nginx
|
|
when: installCertbot == true
|
|
|
|
- name: Allow http and https connexions
|
|
ufw:
|
|
rule: allow
|
|
name: 'Nginx Full'
|