Skip to content

Commit

Permalink
Try a few more things
Browse files Browse the repository at this point in the history
  • Loading branch information
dale-c-anderson committed May 30, 2024
1 parent 82ae1e3 commit a5cd361
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ jobs:
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
- name: install dependencies
run: |
apt install apt-transport-https ca-certificates curl software-properties-common libssl-dev
pip install molecule "molecule-plugins[docker]" ansible ansible-core ansible-lint
- name: molecule
uses: robertdebock/molecule-action@4.0.9
with:
Expand Down
11 changes: 6 additions & 5 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@ driver:
name: docker
platforms:
- name: instance
image: "registry.gitlab.com/aussielunix/ansible/molecule-containers/${MOLECULE_DISTRO:-ubuntu:jammy}"
override_command: false
image: "${MOLECULE_DOCKER_IMAGE:-registry.gitlab.com/aussielunix/ansible/molecule-containers/ubuntu:jammy}"
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
pre_build_image: true
tmpfs:
- /run
- /tmp
cgroupns_mode: host
# tmpfs:
# - /run
# - /tmp
provisioner:
name: ansible
playbooks:
Expand Down

0 comments on commit a5cd361

Please sign in to comment.