Skip to content
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
release:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: galaxy
uses: robertdebock/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
pre-commit:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
name: Test GHA Runner Role
environment:
name: test
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
max-parallel: 5
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
needs: repo
environment:
name: test
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
max-parallel: 5
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
1 change: 1 addition & 0 deletions tasks/collect_info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
ansible.builtin.uri:
url: "https://api.github.com/repos/{{ runner_download_repository }}/releases/latest"
headers:
Authorization: "token {{ access_token }}"
Content-Type: "application/json"
method: GET
return_content: true
Expand Down
12 changes: 12 additions & 0 deletions tasks/install_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tasks/install_runner_unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
args:
chdir: "{{ runner_dir }}"
changed_when: true
become: "{{ 'false' if ansible_distribution == 'MacOS' else 'true' }}"
become: "{{ 'false' if ansible_distribution == 'MacOSX' else 'true' }}"
no_log: "{{ hide_sensitive_logs | bool }}"
ignore_errors: "{{ ansible_check_mode }}"
when: runner_state|lower == "stopped"
Expand Down
Loading