File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ edpm_podman_default_network_config:
8181# - prefix: registry.fedoraproject.org
8282# blocked: true
8383edpm_podman_registries : []
84+ edpm_podman_registries_conf_file : 20-edpm-podman-registries.conf
8485edpm_container_default_pids_limit : 4096
8586edpm_container_events_logger_mechanism : journald
8687edpm_container_default_runtime : crun
@@ -103,3 +104,4 @@ edpm_podman_auth_file: ~/.config/containers/auth.json
103104
104105edpm_podman_registries_conf : " "
105106edpm_podman_disconnected_ocp : false
107+ edpm_podman_disconnected_conf_file : 10-edpm-podman-disconnected.conf
Original file line number Diff line number Diff line change 4848
4949 - name : Assert registries.conf matches
5050 ansible.builtin.lineinfile :
51- name : /etc/containers/registries.conf
51+ name : /etc/containers/registries.conf.d/10-edpm-podman-disconnected.conf
5252 search_string : ' location = "quay.io/okd/scos-content"'
5353 line : ' changed'
5454 state : present
Original file line number Diff line number Diff line change 107107 - name : Write containers registries.conf
108108 ansible.builtin.template :
109109 src : registries.conf.j2
110- dest : /etc/containers/registries.conf
110+ dest : /etc/containers/registries.conf.d/{{ edpm_podman_registries_conf_file }}
111111 owner : root
112112 group : root
113113 setype : etc_t
117117 - name : Write containers registries.conf for disconnected ocp
118118 ansible.builtin.copy :
119119 content : " {{ edpm_podman_registries_conf }}"
120- dest : /etc/containers/registries.conf
120+ dest : /etc/containers/registries.conf.d/{{ edpm_podman_disconnected_conf_file }}
121121 owner : root
122122 group : root
123123 setype : etc_t
You can’t perform that action at this time.
0 commit comments