Initial move to consolidate services on ryzen host
This commit is contained in:
+8
-17
@@ -4,7 +4,6 @@
|
||||
|
||||
vars:
|
||||
username: matt
|
||||
|
||||
docker_add_repo: true
|
||||
docker_users:
|
||||
- "{{ username }}"
|
||||
@@ -13,22 +12,14 @@
|
||||
- role: geerlingguy.docker
|
||||
become: true
|
||||
|
||||
- role: compscidr.github_runner.github_runner
|
||||
tasks:
|
||||
- name: Register GitHub runners
|
||||
ansible.builtin.include_role:
|
||||
name: compscidr.github_runner.github_runner
|
||||
vars:
|
||||
github_runner_install_docker: false
|
||||
github_runner_personal_access_token: "{{ secrets.GITHUB_ACTIONS_TOKEN }}"
|
||||
github_runner_name: "aarch64-rpi5-runner"
|
||||
github_runner_repo: "m5p3nc3r/website"
|
||||
github_runner_lables: "aarch64, rpi5"
|
||||
|
||||
tasks:
|
||||
- name: Start watchtower
|
||||
community.docker.docker_container:
|
||||
name: watchtower
|
||||
image: containrrr/watchtower
|
||||
restart_policy: always
|
||||
command:
|
||||
- --cleanup
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
state: started
|
||||
github_runner_name: "{{ item.name }}"
|
||||
github_runner_repo: "{{ item.repo }}"
|
||||
github_runner_labels: "{{ item.labels }}"
|
||||
loop: "{{ runner_configs }}"
|
||||
|
||||
Reference in New Issue
Block a user