Skip to content

Commit

Permalink
test podman priviledged setting
Browse files Browse the repository at this point in the history
  • Loading branch information
wiktor2200 committed Nov 27, 2023
1 parent b368d97 commit 3288e04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
- name: Run Molecule tests with Podman
run: |
molecule reset
molecule test
sudo molecule reset # Run Molecule with sudo to ensure necessary permissions
sudo molecule test
env:
PY_COLORS: "1"
ANSIBLE_FORCE_COLOR: "1"
Expand Down
2 changes: 1 addition & 1 deletion molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ dependency:
name: galaxy
driver:
name: podman
privileged: true # Set the driver to run in privileged mode
platforms:
- name: instance
image: "docker.io/geerlingguy/docker-${MOLECULE_DISTRO:-debian12}-ansible:latest"
cgroupns_mode: host
command: ${MOLECULE_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
privileged: true
pre_build_image: true
provisioner:
name: ansible
Expand Down

0 comments on commit 3288e04

Please sign in to comment.