From d0f5807079cbf1c6787cdddd91f4569ace4ca5ba Mon Sep 17 00:00:00 2001 From: danochoa Date: Sat, 4 Jan 2025 23:52:08 -0600 Subject: [PATCH 1/2] add support for ubuntu noble --- README.md | 2 +- tasks/install_deps.yml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c8a2574..d5bb785 100644 --- a/README.md +++ b/README.md @@ -263,7 +263,7 @@ In this example the Ansible role will uninstall the runner service and unregiste 2. Install Molecule and its Docker driver with pip: ```bash -pip install molecule[docker] +pip install "molecule-plugins[docker]" ``` Sure, here's a basic example of how you might structure a README to explain how to test the `monolithprojects.github_actions_runner` Ansible role with Molecule: diff --git a/tasks/install_deps.yml b/tasks/install_deps.yml index 8c559e2..0539b5a 100644 --- a/tasks/install_deps.yml +++ b/tasks/install_deps.yml @@ -111,6 +111,18 @@ become: true when: (ansible_facts.distribution == "Ubuntu" and ansible_facts.distribution_major_version == "22") +- name: Install dependencies on Ubuntu Noble systems + ansible.builtin.package: + pkg: + - acl + - liblttng-ust1 + - libkrb5-3 + - zlib1g + state: present + update_cache: true + become: true + when: (ansible_facts.distribution == "Ubuntu" and ansible_facts.distribution_major_version == "24") + - name: Install dependencies on RHEL/CentOS/Fedora systems ansible.builtin.package: name: From be7d147dd7def3f169dea99f61a17b41e1439f86 Mon Sep 17 00:00:00 2001 From: danochoa Date: Sun, 5 Jan 2025 13:38:57 -0600 Subject: [PATCH 2/2] update cmd to install molecule docker plugin --- .github/CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 48f411b..1ccd795 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -40,7 +40,7 @@ Do the changes in your own GitHub namespace. 2. Install Molecule and its Docker driver with pip: ```bash -pip install molecule[docker] +pip install "molecule-plugins[docker]" ``` ### Running Tests