Skip to content

Commit

Permalink
podman tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tcharl committed Dec 22, 2023
1 parent 37166ed commit 77ad4fb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
13 changes: 8 additions & 5 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ platforms:
dockerfile: ../common/Dockerfile.j2
# registry:
# url: registry.access.redhat.com
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: True
command: "/sbin/init"
systemd: True
tmpfs:
- /run
- /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
cgroupns_mode: host
# network: "firewalld_network"
# subnet: '10.3.1.0/24'
dns_servers:
- 8.8.8.8
# capabilities:
Expand All @@ -32,6 +32,9 @@ platforms:
- ipaservers
provisioner:
name: ansible
config_options:
defaults:
remote_tmp: /tmp
verifier:
name: testinfra
env:
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ commands =
setenv =
ANSIBLE_ROLES_PATH={toxinidir}/../community:{toxinidir}/../oss:{toxinidir}/..
ANSIBLE_COLLECTIONS_PATH={toxinidir}/../community-collections
USER=root
commands =
mkdir -p {toxinidir}/../community
mkdir -p {toxinidir}/../oss
Expand Down

0 comments on commit 77ad4fb

Please sign in to comment.