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
|
||||
|
||||
- name: Ensure domains.txt is present.
|
||||
ansible.builtin.template:
|
||||
src: /templates/domains.txt.j2
|
||||
dest: "{{ dehydrated_config }}/domains.txt"
|
||||
register: dehydomains
|
||||
ansible.builtin.file:
|
||||
path: "{{ dehydrated_config }}/domains.txt"
|
||||
state: touch
|
||||
|
||||
- name: Ensure config is present.
|
||||
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