certbot, not cerbot

This commit is contained in:
histausse 2022-08-08 21:55:58 +02:00
parent d43588eecf
commit 35d041330c
Signed by: histausse
GPG key ID: 67486F107F62E9E9

View file

@ -23,7 +23,7 @@
- name: Collect certificate for nginx website - name: Collect certificate for nginx website
set_fact: set_fact:
all_certbot_certs: "{{ all_certbot_certs | combine({item: {'links': ['/etc/nginx/certs/'+item],'hooks': ['systemctl reload nginx']}}) }}" all_certbot_certs: "{{ all_certbot_certs | combine({item: {'links': ['/etc/nginx/certs/'+item],'hooks': ['systemctl reload nginx']}}) }}"
loop: "{{ http_sites | default({}) | dict2items | selectattr('value.use_cerbot', 'defined') | selectattr('value.use_cerbot', '==', True) | map(attribute='key')}}" loop: "{{ http_sites | default({}) | dict2items | selectattr('value.use_certbot', 'defined') | selectattr('value.use_certbot', '==', True) | map(attribute='key')}}"
- name: Create certificate links - name: Create certificate links
file: file: