Update main.ansible.yml

This commit is contained in:
Expand-sys 2024-07-17 19:16:46 +10:00 committed by GitHub
parent fa7988a888
commit 256f652a3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -89,7 +89,7 @@
- name: run certbot cert grab
ansible.builtin.shell:
cmd: |
sudo certbot certonly --standalone -m "{{ DNSEMAIL }}" -d "{{ DNSDOMAIN }}" -n --agree-tos --no-eff-email --preferred-chain="ISRG Root X1"
sudo systemctl stop nginx && sudo certbot certonly --standalone -m "{{ DNSEMAIL }}" -d "{{ DNSDOMAIN }}" -n --agree-tos --no-eff-email --preferred-chain="ISRG Root X1"
- name: configure nginx for streams
@ -243,4 +243,4 @@
user: "root"
minute: "0"
hour: "12"
day: "1"
day: "1"