iloth_ansible/roles/nginx/tasks/main.yml

15 lines
249 B
YAML
Raw Normal View History

2020-04-19 03:28:50 +02:00
---
- name: Install Nginx
apt:
name: nginx-full
- name: install Certbot Nginx plugin
apt:
name: python3-certbot-nginx
when: installCertbot == True
2020-04-22 22:54:07 +02:00
- name: Allow http and https connexions
ufw:
rule: allow
name: 'Nginx Full'