Skip to content

Commit 018a978

Browse files
committed
base_image: fix template dest fields in custom-image task
The Ansible built-in template was using the wrong destiny module parameter name. Fix the typo. https://docs.ansible.com/ansible/latest/collections/ansible/builtin/template_module.html#parameter-dest Signed-off-by: Daniel Gomez <[email protected]>
1 parent c88c97f commit 018a978

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

playbooks/roles/base_image/tasks/custom-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
- name: Build the custom source
103103
ansible.builtin.template:
104104
src: "{{ role_path }}/templates/custom-source.j2"
105-
dst: "{{ custom_source }}"
105+
dest: "{{ custom_source }}"
106106
mode: "u=rw,g=r,o=r"
107107
when:
108108
- not result.stat.exists
@@ -118,7 +118,7 @@
118118
- name: Build the custom index
119119
ansible.builtin.template:
120120
src: "{{ role_path }}/templates/custom-index.j2"
121-
dst: "{{ custom_index }}"
121+
dest: "{{ custom_index }}"
122122
mode: "u=rw,g=r,o=r"
123123
when:
124124
- not result.stat.exists

0 commit comments

Comments
 (0)