nginx: Re-introduce bootstrap_certs

This commit is contained in:
polyfloyd 2025-04-12 19:18:38 +02:00
parent b680bf6902
commit 75795f0238
5 changed files with 11 additions and 3 deletions

View file

@ -7,6 +7,13 @@
when:
- nginx_sites is defined
- name: Install bootstrap cert
ansible.builtin.apt:
name: "ssl-cert"
state: present
when:
- nginx_bootstrap_certs is defined and nginx_bootstrap_certs
- name: Create sites-available / sites-enabled directories
ansible.builtin.file:
state: directory