Skip to content
Snippets Groups Projects
Verified Commit 4e375e3f authored by Lukas Schauer's avatar Lukas Schauer :unlock:
Browse files

dehydrated: use tls_extra_hostnames variable instead of extra_hostnames

parent 0bc209a2
Branches master
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
- name: "Configure dehydrated: domains.txt" - name: "Configure dehydrated: domains.txt"
copy: copy:
content: "{{ inventory_hostname }}{% if extra_hostnames is defined %}{% for hostname in extra_hostnames %} {{ hostname }}{% endfor %}{% endif %}" content: "{{ inventory_hostname }}{% if tls_extra_hostnames is defined %}{% for hostname in tls_extra_hostnames %} {{ hostname }}{% endfor %}{% endif %}"
dest: /etc/dehydrated/domains.txt dest: /etc/dehydrated/domains.txt
register: dehydomains register: dehydomains
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment