File tree Expand file tree Collapse file tree 5 files changed +6
-26
lines changed Expand file tree Collapse file tree 5 files changed +6
-26
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ github_server: "https://github.com"
6161access_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"
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ github_server: "https://github.com"
2424access_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"
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments