Skip to content

Commit 7669af1

Browse files
Fix variable name and some wording
1 parent 734639f commit 7669af1

File tree

5 files changed

+6
-26
lines changed

5 files changed

+6
-26
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ github_server: "https://github.com"
6161
access_token: "{{ lookup('env', 'PERSONAL_ACCESS_TOKEN') }}"
6262

6363
# Is it runner for organization or not
64-
runner_org: false
64+
runner_org: no
6565

6666
# Account used for Runner registration (GitHub Repository user with admin rights or Organization owner)
6767
# github_account: "youruser"

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ github_server: "https://github.com"
2424
access_token: "{{ lookup('env', 'PERSONAL_ACCESS_TOKEN') }}"
2525

2626
# Is it runner for organization or not
27-
runner_org: false
27+
runner_org: no
2828

2929
# GitHub Repository user or Organization owner used for Runner registration
3030
# github_account: "youruser"

molecule/default/molecule.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,7 @@ platforms:
2525
volumes:
2626
- /sys/fs/cgroup:/sys/fs/cgroup:ro
2727
privileged: yes
28-
pre_build_image: yes
29-
# - name: Fedora31
30-
# image: monolithprojects/systemd-fedora31:latest
31-
# command: /sbin/init
32-
# tmpfs:
33-
# - /run
34-
# - /tmp
35-
# volumes:
36-
# - /sys/fs/cgroup:/sys/fs/cgroup:ro
37-
# privileged: yes
38-
# pre_build_image: yes
28+
pre_build_image: yes
3929
- name: Fedora32
4030
image: monolithprojects/systemd-fedora32:latest
4131
command: /sbin/init

molecule/organization/molecule.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,7 @@ platforms:
2525
volumes:
2626
- /sys/fs/cgroup:/sys/fs/cgroup:ro
2727
privileged: yes
28-
pre_build_image: yes
29-
# - name: Fedora31
30-
# image: monolithprojects/systemd-fedora31:latest
31-
# command: /sbin/init
32-
# tmpfs:
33-
# - /run
34-
# - /tmp
35-
# volumes:
36-
# - /sys/fs/cgroup:/sys/fs/cgroup:ro
37-
# privileged: yes
38-
# pre_build_image: yes
28+
pre_build_image: yes
3929
- name: Fedora32
4030
image: monolithprojects/systemd-fedora32:latest
4131
command: /sbin/init

tasks/install_runner.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
become: yes
110110
become_user: "{{ runner_user }}"
111111
no_log: "{{ hide_sensitive_logs | bool }}"
112-
when: replace_runner and ansible_hostname in registered_runners.json.runners|map(attribute='name')|list and not github_org
112+
when: replace_runner and ansible_hostname in registered_runners.json.runners|map(attribute='name')|list and not runner_org
113113
tags:
114114
- install
115115

@@ -121,7 +121,7 @@
121121
become: yes
122122
become_user: "{{ runner_user }}"
123123
no_log: "{{ hide_sensitive_logs | bool }}"
124-
when: replace_runner and ansible_hostname in registered_runners.json.runners|map(attribute='name')|list and github_org
124+
when: replace_runner and ansible_hostname in registered_runners.json.runners|map(attribute='name')|list and runner_org
125125
tags:
126126
- install
127127

0 commit comments

Comments
 (0)