From d5c97379c0eda324490ae143ba1729d4f4683373 Mon Sep 17 00:00:00 2001 From: Michael Buluma Date: Tue, 26 Mar 2024 21:46:56 +0300 Subject: [PATCH] Ansible Generated Update. --- .github/workflows/molecule.yml | 44 +++++++++++++++++++--------------- README.md | 8 +++---- requirements.txt | 4 ++-- 3 files changed, 31 insertions(+), 25 deletions(-) diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index f2325b0..6b7f680 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -46,33 +46,37 @@ jobs: fail-fast: false matrix: config: - - image: "alpine-openrc" - tag: "latest" - - image: "amazonlinux" - tag: "latest" + - image: "docker-molecule-images" + tag: "alpine-openrc" + - image: "docker-molecule-images" + tag: "amazonlinux2023" - image: "enterpriselinux" tag: "8" - - image: "debian-systemd" - tag: "latest" - - image: "debian-systemd" + - image: "docker-molecule-images" + tag: "buster" + - image: "docker-molecule-images" tag: "bullseye" - - image: "fedora-systemd" + - image: "docker-molecule-images" + tag: "37" + - image: "docker-molecule-images" tag: "38" - - image: "fedora-systemd" - tag: "latest" - - image: "fedora-systemd" + - image: "docker-molecule-images" + tag: "39" + - image: "docker-molecule-images" + tag: "40" + - image: "docker-molecule-images" tag: "rawhide" - - image: "docker-opensuse-systemd" - tag: "latest" - - image: "docker-ubuntu-systemd" - tag: "latest" - - image: "docker-ubuntu-systemd" + - image: "docker-molecule-images" + tag: "opensuse" + - image: "docker-molecule-images" tag: "focal" - - image: "docker-ubuntu-systemd" + - image: "docker-molecule-images" tag: "bionic" - - image: "docker-ubuntu-systemd" + - image: "docker-molecule-images" + tag: "jammy" + - image: "docker-molecule-images" tag: "lunar" - - image: "docker-ubuntu-systemd" + - image: "docker-molecule-images" tag: "noble" steps: - name: Checkout Role @@ -84,6 +88,8 @@ jobs: with: image: ${{ matrix.config.image }} tag: ${{ matrix.config.tag }} + - name: Running Role Test + run: ansible-galaxy role import --api-key ${{ secrets.galaxy_api_key }} buluma ${{ github.event.repository.name }} dependabot: needs: diff --git a/README.md b/README.md index a343f5e..94d67f7 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ This example is taken from [`molecule/default/converge.yml`](https://github.com/ --- - name: Converge hosts: all - become: yes - gather_facts: yes + become: true + gather_facts: true roles: - role: buluma.buildtools @@ -27,8 +27,8 @@ The machine needs to be prepared. In CI this is done using [`molecule/default/pr --- - name: Prepare hosts: all - gather_facts: no - become: yes + gather_facts: false + become: true roles: - role: buluma.bootstrap diff --git a/requirements.txt b/requirements.txt index 666d866..ed09075 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ ansible-compat == 4.* -molecule == 6.* +molecule == 24.* molecule-plugins[docker] == 23.* -ansible-lint == 6.* +ansible-lint == 24.* paramiko == 3.* # Pinning requests version due to [bug](https://github.com/docker/docker-py/issues/3113) # requests == 2.28.1