diff --git a/tasks/yum_update_buildah.yml b/tasks/yum_update_buildah.yml index cbfd058..5c8e127 100644 --- a/tasks/yum_update_buildah.yml +++ b/tasks/yum_update_buildah.yml @@ -106,7 +106,7 @@ - name: Run yum_update.sh command: > buildah run - --volume {{ yum_update.path }}:/tmp/yum_update.sh + --volume {{ yum_update.path }}:/tmp/yum_update.sh:z --volume {{ yum_repos_dir_path }}:/etc/yum.repos.d {% if pkg_mgr_vars_stat.stat.exists %} --volume /etc/{{ pkg_mgr_suffix }}/vars:/etc/{{ pkg_mgr_suffix }}/vars @@ -130,7 +130,7 @@ - name: Run yum_update.sh (retry without yum cache) command: > buildah --debug run - --volume {{ yum_update.path }}:/tmp/yum_update.sh + --volume {{ yum_update.path }}:/tmp/yum_update.sh:z --volume {{ yum_repos_dir_path }}:/etc/yum.repos.d {% if pkg_mgr_vars_stat.stat.exists %} --volume /etc/{{ pkg_mgr_suffix }}/vars:/etc/{{ pkg_mgr_suffix }}/vars