Skip to content

Commit

Permalink
yamllint
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
xmfcx committed Dec 9, 2024
1 parent 314fb99 commit 129f83f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions playbooks/runner_setup.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
- name: Install GitHub Actions Runner
hosts: localhost
runner_user: "ubuntu"
become: yes
runner_user: ubuntu
become: true
vars:
- github_owner: "autowarefoundation"
- runner_org: yes
- runner_group: "Default"
- github_owner: autowarefoundation
- runner_org: true
- runner_group: Default
- runner_labels: [self-hosted, Linux, X64]
roles:
- role: monolithprojects.github_actions_runner

Check warning on line 11 in playbooks/runner_setup.yaml

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (monolithprojects)
10 changes: 5 additions & 5 deletions roles/runner_configuration/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
- name: Create directory for runner scripts
become: yes
become: true
ansible.builtin.file:
path: /opt/runner-scripts
state: directory
mode: "0755"

- name: Install the cleanup script
become: yes
become: true
ansible.builtin.copy:
src: "{{ role_path }}/files/cleanup_script.sh"
dest: "/opt/runner-scripts/cleanup_script.sh"
dest: /opt/runner-scripts/cleanup_script.sh
mode: "0755"

- name: Append cleanup script to actions-runner .env
become: yes
become: true
ansible.builtin.lineinfile:
path: /opt/actions-runner/.env
line: "ACTIONS_RUNNER_HOOK_JOB_STARTED=/opt/runner-scripts/cleanup_script.sh"
line: ACTIONS_RUNNER_HOOK_JOB_STARTED=/opt/runner-scripts/cleanup_script.sh
create: true

0 comments on commit 129f83f

Please sign in to comment.