Files
cloud-configuration/ansible/roles/nginx/tasks/main.yaml
T

12 lines
270 B
YAML

---
- name: Install nginx
ansible.builtin.apt:
name: nginx
update_cache: true
- name: Allow nginx through firewall
community.general.ufw:
name: Nginx Full
rule: allow
- name: Prepare for Let's Encrypt
ansible.builtin.import_tasks: letsencrypt.yaml