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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user