Skip to content

Commit 7788b42

Browse files
committed
Use copy instead of template for disconnected registries.conf
This change switches the Ansible module from template to copy for writing the disconnected registries.conf file. Since trying to use `src` in the `template` module looks for a path and not content. Signed-off-by: Brendan Shephard <[email protected]>
1 parent 998ae17 commit 7788b42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roles/edpm_podman/tasks/install.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@
107107
when: not edpm_podman_disconnected_ocp
108108

109109
- name: Write containers registries.conf
110-
ansible.builtin.template:
111-
src: "{{ edpm_podman_registries_conf }}"
110+
ansible.builtin.copy:
111+
content: "{{ edpm_podman_registries_conf }}"
112112
dest: /etc/containers/registries.conf
113113
owner: root
114114
group: root

0 commit comments

Comments
 (0)