Skip to content

Commit 47cabdf

Browse files
committed
Fix edpm_kernel molecule job
The job is constantly failing with an error: TASK [../../../../molecule/common/test_deps : Gather facts if they don't exist] *** Friday 10 October 2025 06:52:38 +0000 (0:00:00.019) 0:00:00.036 ******** fatal: [instance]: UNREACHABLE! => changed=false msg: 'Failed to create temporary directory. In some cases, you may have been able to authenticate and did not have permissions on the target directory. Consider changing the remote tmp path in ansible.cfg to a path rooted in "/tmp", for more error information use -vvv. Failed command was: ( umask 77 && mkdir -p "` echo /tmp `"&& mkdir "` echo /tmp/ansible-tmp-1760079158.4157672-25921-94583121902720 `" && echo ansible-tmp-1760079158.4157672-25921-94583121902720="` echo /tmp/ansible-tmp-1760079158.4157672-25921-94583121902720 `" ), exited with result 125' unreachable: true Signed-off-by: Daniel Pawlik <[email protected]>
1 parent 95aa63d commit 47cabdf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

roles/edpm_kernel/molecule/default/molecule.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependency:
66
driver:
77
name: podman
88
platforms:
9-
- command: /sbin/init
9+
- command: /usr/sbin/init
1010
dockerfile: ../../../../molecule/common/Containerfile.j2
1111
image: ${EDPM_ANSIBLE_MOLECULE_IMAGE:-"ubi9/ubi-init"}
1212
name: instance
@@ -15,6 +15,9 @@ platforms:
1515
url: ${EDPM_ANSIBLE_MOLECULE_REGISTRY:-"registry.access.redhat.com"}
1616
ulimits:
1717
- host
18+
volumes:
19+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
20+
cgroupns_mode: host
1821
provisioner:
1922
inventory:
2023
hosts:

0 commit comments

Comments
 (0)