Changing mount parameter of podman task to volume

This change allows oslo-config-validator containers to reach locations
on the host machine and verify local settings.

Resolves: rhbz#2127966

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I9daed3dbd6c7687f2a31370ad64cfc9f22880177
This commit is contained in:
Jiri Podivin
2022-12-02 10:25:51 +01:00
parent e794bac656
commit faceb5260a

View File

@@ -41,7 +41,7 @@
detach: false
rm: true
user: "0"
mount: "type=bind,source={{ oslo_config_validator_work_path }},destination=/oslo_config_validation"
volume: "{{ oslo_config_validator_work_path }}:/oslo_config_validation"
network: none
command: "{{ oslo_command }}"
register: container_run