only touch domains.txt, actual domains get handled in separate role
This commit is contained in:
parent
9a1d0c3c09
commit
aeaa4574cc
2 changed files with 3 additions and 10 deletions
|
@ -16,10 +16,9 @@
|
||||||
state: link
|
state: link
|
||||||
|
|
||||||
- name: Ensure domains.txt is present.
|
- name: Ensure domains.txt is present.
|
||||||
ansible.builtin.template:
|
ansible.builtin.file:
|
||||||
src: /templates/domains.txt.j2
|
path: "{{ dehydrated_config }}/domains.txt"
|
||||||
dest: "{{ dehydrated_config }}/domains.txt"
|
state: touch
|
||||||
register: dehydomains
|
|
||||||
|
|
||||||
- name: Ensure config is present.
|
- name: Ensure config is present.
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
{{ inventory_hostname }}
|
|
||||||
{% if extra_hostnames is defined %}
|
|
||||||
{% for hostname in extra_hostnames %}
|
|
||||||
{{ hostname }}
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
Loading…
Reference in a new issue