Skip to content

Commit 9970c76

Browse files
Merge pull request #181 from MonolithProjects/fix/linting
fix: add become to become_user
2 parents b49d739 + af70deb commit 9970c76

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# GitHub Actions Runner
22

33
[![awesome-runners](https://img.shields.io/badge/listed%20on-awesome--runners-blue.svg)](https://github.com/jonico/awesome-runners)
4-
[![Galaxy Quality](https://img.shields.io/ansible/quality/47375?style=flat&logo=ansible)](https://galaxy.ansible.com/monolithprojects/github_actions_runner)
5-
[![Role version](https://img.shields.io/github/v/release/MonolithProjects/ansible-github_actions_runner)](https://galaxy.ansible.com/monolithprojects/github_actions_runner)
6-
[![Role downloads](https://img.shields.io/ansible/role/d/47375)](https://galaxy.ansible.com/monolithprojects/github_actions_runner)
4+
[![Role version](https://img.shields.io/github/v/release/MonolithProjects/ansible-github_actions_runner)](https://galaxy.ansible.com/ui/standalone/roles/monolithprojects/github_actions_runner/)
5+
[![Role downloads](https://img.shields.io/ansible/role/d/19739)](https://galaxy.ansible.com/ui/standalone/roles/monolithprojects/github_actions_runner/)
76
[![Molecule test](https://github.com/MonolithProjects/ansible-github_actions_runner/actions/workflows/tests.yml/badge.svg)](https://github.com/MonolithProjects/ansible-github_actions_runner/actions/workflows/tests.yml)
87
[![License](https://img.shields.io/github/license/MonolithProjects/ansible-github_actions_runner)](https://github.com/MonolithProjects/ansible-github_actions_runner/blob/main/LICENSE)
98

tasks/install_runner.yml

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
chdir: "{{ runner_dir }}"
8080
changed_when: true
8181
become_user: "{{ runner_user }}"
82+
become: true
8283
no_log: "{{ hide_sensitive_logs | bool }}"
8384
when: runner_name not in registered_runners.json.runners|map(attribute='name')|list
8485

@@ -98,6 +99,7 @@
9899
chdir: "{{ runner_dir }}"
99100
changed_when: true
100101
become_user: "{{ runner_user }}"
102+
become: true
101103
no_log: "{{ hide_sensitive_logs | bool }}"
102104
when: >
103105
runner_name in registered_runners.json.runners|map(attribute='name')|list and

0 commit comments

Comments
 (0)