diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2811ed..562bc9a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,7 @@ name: CI - main schedule: - cron: '30 1 * * 3' + workflow_dispatch: jobs: @@ -43,6 +44,8 @@ jobs: matrix: include: - distro: ubuntu2004 + - distro: ubuntu2204 + - distro: ubuntu2404 - distro: ubi8 platform: instance-r-rh - distro: ubi9 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 653a059..722f310 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,7 @@ repos: - id: shell-lint - repo: https://github.com/ansible-community/ansible-lint - rev: v5.4.0 + rev: v25.4.0 hooks: - id: ansible-lint diff --git a/meta/main.yml b/meta/main.yml index 08d0033..dae036d 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -11,6 +11,11 @@ galaxy_info: - name: Ubuntu versions: - focal + - jammy + - noble + - name: EL + versions: + - "8" galaxy_tags: - development - system diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 3e1b941..4f4b894 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -1,30 +1,26 @@ --- - dependency: - name: galaxy - driver: - name: docker - platforms: - - &instance - name: instance-r - image: "geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2004}-ansible:latest" - command: ${MOLECULE_DOCKER_COMMAND:-""} - volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro - capabilities: - - SYS_ADMIN - pre_build_image: true - platform: linux/amd64 - - <<: *instance - name: instance-r-rh - image: "registry.access.redhat.com/${MOLECULE_DISTRO:-ubi9}/ubi-init" - command: "/usr/sbin/init" - volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:rw - privileged: true - cgroupns_mode: host - provisioner: - name: ansible - playbooks: - prepare: prepare.yml - converge: converge.yml - verify: verify.yml \ No newline at end of file +dependency: + name: galaxy +driver: + name: docker +platforms: + - &instance + name: instance-r + image: "geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2004}-ansible:latest" + command: ${MOLECULE_DOCKER_COMMAND:-""} + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:rw + privileged: true + cgroupns_mode: host + pre_build_image: true + platform: linux/amd64 + - <<: *instance + name: instance-r-rh + image: "registry.access.redhat.com/${MOLECULE_DISTRO:-ubi8}/ubi-init" + command: "/usr/sbin/init" +provisioner: + name: ansible + playbooks: + prepare: prepare.yml + converge: converge.yml + verify: verify.yml