runner

Ansible role that deployes services on my runner machine

1.4 KBYML
management.yml
1.4 KB57 lines • yaml
1---
2# Runner Services - Essential Management Scripts
3
4- name: Create runner status script
5  template:
6    src: runner-status.sh.j2
7    dest: /usr/local/bin/runner-status.sh
8    owner: root
9    group: root
10    mode: '0755'
11  become: yes
12
13- name: Create runner logs script
14  template:
15    src: runner-logs.sh.j2
16    dest: /usr/local/bin/runner-logs.sh
17    owner: root
18    group: root
19    mode: '0755'
20  become: yes
21
22- name: Create runner restart script
23  template:
24    src: runner-restart.sh.j2
25    dest: /usr/local/bin/runner-restart.sh
26    owner: root
27    group: root
28    mode: '0755'
29  become: yes
30
31- name: Create runner update script
32  template:
33    src: runner-update.sh.j2
34    dest: /usr/local/bin/runner-update.sh
35    owner: root
36    group: root
37    mode: '0755'
38  become: yes
39
40- name: Display management tools summary
41  debug:
42    msg: |
43      Runner Management Tools Created:
44      
45      Essential Commands:
46      - runner-status.sh - Check all services status
47      - runner-logs.sh - View service logs
48      - runner-restart.sh - Restart services
49      - runner-update.sh - Update container images
50      
51      Service Directories: Each service in /docker/[service] pattern
52      - Frigate: {{ frigate_config_dir }}
53      - Immich: {{ immich_config_dir }}
54      - Forgejo: {{ forgejo_config_dir }}
55      - Stirling-PDF: {{ stirling_pdf_config_dir }}
56      - Tandoor: {{ tandoor_config_dir }}
57      - Ghost: {{ ghost_config_dir }}