Skip to content

Commit

Permalink
Merge pull request #3 from AcroMedia/updates
Browse files Browse the repository at this point in the history
Update support
  • Loading branch information
jseniuk authored Jun 12, 2024
2 parents 29412ad + 029c3ee commit 165158f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ jobs:
strategy:
matrix:
image:
- geerlingguy/docker-ubuntu2404-ansible:latest
- geerlingguy/docker-ubuntu2204-ansible:latest
- geerlingguy/docker-ubuntu2004-ansible:latest
- geerlingguy/docker-ubuntu1804-ansible:latest
- geerlingguy/docker-ubuntu1604-ansible:latest
- geerlingguy/docker-centos8-ansible:latest
- geerlingguy/docker-centos7-ansible:latest
steps:
Expand All @@ -38,7 +39,7 @@ jobs:
with:
path: "${{ github.repository }}"
- name: molecule
uses: robertdebock/molecule-action@2.6.3
uses: robertdebock/molecule-action@6.0.1
with:
image: "${{ matrix.image }}"
options: parallel
Expand Down
3 changes: 1 addition & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ essential_packages_common:
- bc
- screen
- jq
- mlocate
- net-tools
- "{{ (ansible_distribution_major_version|int < 22) | ternary('mlocate', 'plocate') }}"

basic_packages_redhat: "{{ essential_packages_common + essential_packages_redhat_only }}"

basic_packages_ubuntu: "{{ essential_packages_common + essential_packages_ubuntu_only }}"

set_bash_history_timestamps: true
5 changes: 5 additions & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@ galaxy_info:
- trusty
- xenial
- bionic
- focal
- jammy
- noble
- name: EL
versions:
- 6
- 7
- 8

galaxy_tags: []
dependencies: []
12 changes: 11 additions & 1 deletion molecule/default/molecule.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
role_name_check: 1
dependency:
name: galaxy
driver:
Expand All @@ -7,11 +8,20 @@ platforms:
- name: instance
image: ${MOLECULE_DOCKER_IMAGE:-'geerlingguy/docker-ubuntu1804-ansible:latest'}
command: ${MOLECULE_DOCKER_COMMAND:-""}
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /sys/fs/cgroup:/sys/fs/cgroup:rw
privileged: true
pre_build_image: true
tmpfs:
- /tmp
- /run
- /run/lock
provisioner:
name: ansible
playbooks:
converge: ${MOLECULE_PLAYBOOK:-converge.yml}
config_options:
defaults:
verbosity: ${MOLECULE_VERBOSITY:-0}
remote_tmp: /tmp

0 comments on commit 165158f

Please sign in to comment.