Skip to content

Commit 047ab23

Browse files
Merge pull request #228 from danochoa/support-noble
Support noble
2 parents fcb74e4 + be7d147 commit 047ab23

8 files changed

+20
-7
lines changed

.github/CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Do the changes in your own GitHub namespace.
4040
2. Install Molecule and its Docker driver with pip:
4141

4242
```bash
43-
pip install molecule[docker]
43+
pip install "molecule-plugins[docker]"
4444
```
4545

4646
### Running Tests

.github/workflows/galaxy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
release:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-24.04
1111
steps:
1212
- name: galaxy
1313
uses: robertdebock/[email protected]

.github/workflows/pre-commit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
pre-commit:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-24.04
1313
steps:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-python@v5

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
name: Test GHA Runner Role
2626
environment:
2727
name: test
28-
runs-on: ubuntu-22.04
28+
runs-on: ubuntu-24.04
2929
strategy:
3030
fail-fast: false
3131
max-parallel: 5
@@ -69,7 +69,7 @@ jobs:
6969
needs: repo
7070
environment:
7171
name: test
72-
runs-on: ubuntu-22.04
72+
runs-on: ubuntu-24.04
7373
strategy:
7474
fail-fast: false
7575
max-parallel: 5

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ In this example the Ansible role will uninstall the runner service and unregiste
263263
2. Install Molecule and its Docker driver with pip:
264264

265265
```bash
266-
pip install molecule[docker]
266+
pip install "molecule-plugins[docker]"
267267
```
268268
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:
269269

tasks/collect_info.yml

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
ansible.builtin.uri:
6565
url: "https://api.github.com/repos/{{ runner_download_repository }}/releases/latest"
6666
headers:
67+
Authorization: "token {{ access_token }}"
6768
Content-Type: "application/json"
6869
method: GET
6970
return_content: true

tasks/install_deps.yml

+12
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,18 @@
111111
become: true
112112
when: (ansible_facts.distribution == "Ubuntu" and ansible_facts.distribution_major_version == "22")
113113

114+
- name: Install dependencies on Ubuntu Noble systems
115+
ansible.builtin.package:
116+
pkg:
117+
- acl
118+
- liblttng-ust1
119+
- libkrb5-3
120+
- zlib1g
121+
state: present
122+
update_cache: true
123+
become: true
124+
when: (ansible_facts.distribution == "Ubuntu" and ansible_facts.distribution_major_version == "24")
125+
114126
- name: Install dependencies on RHEL/CentOS/Fedora systems
115127
ansible.builtin.package:
116128
name:

tasks/install_runner_unix.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
args:
166166
chdir: "{{ runner_dir }}"
167167
changed_when: true
168-
become: "{{ 'false' if ansible_distribution == 'MacOS' else 'true' }}"
168+
become: "{{ 'false' if ansible_distribution == 'MacOSX' else 'true' }}"
169169
no_log: "{{ hide_sensitive_logs | bool }}"
170170
ignore_errors: "{{ ansible_check_mode }}"
171171
when: runner_state|lower == "stopped"

0 commit comments

Comments
 (0)