Skip to content

Commit bfac715

Browse files
Merge pull request #57 from MonolithProjects/develop
Add ARM support
2 parents 5a92df5 + e64ed4a commit bfac715

File tree

4 files changed

+19
-18
lines changed

4 files changed

+19
-18
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,16 @@ Personal Access Token for GitHub account can be created [here](https://github.co
2626
* CentOS systems require EPEL repository.
2727
Recommended role: `robertdebock.epel`
2828

29-
* Weekly tested on:
30-
* CentOS/RHEL 7,8
31-
* Debian 9,10
32-
* Fedora 32,33
33-
* Ubuntu 16,18,20
29+
## Supported CPU architecture:
30+
31+
* ARM, ARM64 (dependencies installation is not covered by this role)
32+
* AMD64, x86_64
33+
## Weekly tested on:
34+
35+
* CentOS/RHEL 7,8
36+
* Debian 9,10
37+
* Fedora 32,33
38+
* Ubuntu 16,18,20
3439

3540
**Note:** Fedora 32+ and Ubuntu 20 must use Ansible 2.9.8+. Other distros/releases will work also with older 2.8.0+ Ansible.
3641

tasks/assert.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
- name: Check variables
2+
- name: Check variables (RUN ONCE)
33
assert:
44
that:
55
- github_account is defined

tasks/install_runner.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,6 @@
4242
tags:
4343
- install
4444

45-
# - name: Create temporary directory for archive
46-
# tempfile:
47-
# state: directory
48-
# register: tempdir
49-
# run_once: yes
50-
# delegate_to: localhost
51-
# become: false
52-
# when: runner_version not in runner_installed.stdout
53-
# tags:
54-
# - install
55-
5645
- name: Create temporary directory for archive
5746
file:
5847
path: "{{ runner_pkg_tempdir }}"
@@ -68,7 +57,8 @@
6857

6958
- name: Download runner package version - "{{ runner_version }}" (RUN ONCE)
7059
get_url:
71-
url: "https://github.com/actions/runner/releases/download/v{{ runner_version }}/actions-runner-linux-x64-{{ runner_version }}.tar.gz"
60+
url: "https://github.com/actions/runner/releases/download/v{{ runner_version }}/\
61+
actions-runner-linux-{{ github_actions_architecture }}-{{ runner_version }}.tar.gz"
7262
dest: "{{ runner_pkg_tempdir }}/actions-runner-linux-{{ runner_version }}.tar.gz"
7363
force: no
7464
run_once: yes

vars/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
---
22
# vars file for ansible-github_actions_runner
3+
github_actions_architecture_map:
4+
amd64: x64
5+
x86_64: x64
6+
armv7l: arm
7+
aarch64: arm64
8+
github_actions_architecture: "{{ github_actions_architecture_map[ansible_architecture] }}"

0 commit comments

Comments
 (0)