Initial Commit
This commit is contained in:
24
ansible/ghshr.yml
Normal file
24
ansible/ghshr.yml
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
- name: Prepare all servers
|
||||
hosts: all
|
||||
become: true
|
||||
|
||||
pre_tasks:
|
||||
- name: Setup base system
|
||||
import_tasks: tasks/base.yml
|
||||
tags: base_setup
|
||||
|
||||
tasks:
|
||||
- name: Create ghshr folders
|
||||
file:
|
||||
path: "/opt/actions-runner"
|
||||
state: directory
|
||||
|
||||
- name: Download ans extract the GitHub Actions Runner
|
||||
ansible.builtin.unarchive:
|
||||
src: https://github.com/actions/runner/releases/download/v2.328.0/actions-runner-linux-x64-2.328.0.tar.gz
|
||||
dest: /opt/actions-runner
|
||||
remote_src: yes
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user