File tree Expand file tree Collapse file tree 4 files changed +19
-18
lines changed Expand file tree Collapse file tree 4 files changed +19
-18
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,16 @@ Personal Access Token for GitHub account can be created [here](https://github.co
26
26
* CentOS systems require EPEL repository.
27
27
Recommended role: ` robertdebock.epel `
28
28
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
34
39
35
40
** Note:** Fedora 32+ and Ubuntu 20 must use Ansible 2.9.8+. Other distros/releases will work also with older 2.8.0+ Ansible.
36
41
Original file line number Diff line number Diff line change 1
1
---
2
- - name : Check variables
2
+ - name : Check variables (RUN ONCE)
3
3
assert :
4
4
that :
5
5
- github_account is defined
Original file line number Diff line number Diff line change 42
42
tags :
43
43
- install
44
44
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
-
56
45
- name : Create temporary directory for archive
57
46
file :
58
47
path : " {{ runner_pkg_tempdir }}"
68
57
69
58
- name : Download runner package version - "{{ runner_version }}" (RUN ONCE)
70
59
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"
72
62
dest : " {{ runner_pkg_tempdir }}/actions-runner-linux-{{ runner_version }}.tar.gz"
73
63
force : no
74
64
run_once : yes
Original file line number Diff line number Diff line change 1
1
---
2
2
# 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] }}"
You can’t perform that action at this time.
0 commit comments