2
0
mirror of https://github.com/schnidrig/openhab-ansible synced 2026-01-12 08:58:46 +01:00

fix IPv6 no longer working.

use reverse proxy on NAS instead.
This commit is contained in:
Christian Schnidrig
2022-02-24 08:47:04 +01:00
parent 2593db6ece
commit d2c994a8cf
7 changed files with 82 additions and 32 deletions

View File

@@ -10,7 +10,8 @@
cache_valid_time: "{{apt_config.cache_valid_time}}"
- name: get certificate
shell: 'certbot -n run --nginx --agree-tos --email {{letsencrypt_email}} -d {{fqdn}}'
shell: 'certbot -n run --nginx --agree-tos --email {{letsencrypt_email}} -d {{fqdn}} --server https://acme-staging-v02.api.letsencrypt.org/directory'
#shell: 'certbot -n run --nginx --agree-tos --email {{letsencrypt_email}} -d {{fqdn}}'
# - name: cron job

View File

@@ -16,14 +16,14 @@
tags:
- nginx
- openhab_all
- include: dynv6.yml
tags:
- dynv6
- openhab_all
- include: letsencrypt.yml
tags:
- letsencrypt
- openhab_all
# - include: dynv6.yml
# tags:
# - dynv6
# - openhab_all
# - include: letsencrypt.yml
# tags:
# - letsencrypt
# - openhab_all
- include: scripts.yml
tags:
- scripts

View File

@@ -17,7 +17,7 @@
mode: "u=rwx,g=r,o=r"
notify: restart nginx
- stat: path=/etc/letsencrypt/live/schnidrig.dynv6.net/fullchain.pem
- stat: path=/etc/letsencrypt/live/{{fqdn}}/fullchain.pem
register: letsencrypt_cert
- name: overwrite nginx config for letsencrypt initialization