k3s setup and git action runner
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# to add/mount a partitiion, use the gparted utility to create it beforehand witht the matching name/label
|
||||
hard_disk__partitions:
|
||||
nfs: []
|
||||
gitea_data:
|
||||
- gitea
|
||||
pg_data:
|
||||
@@ -10,4 +11,9 @@ hard_disk__applications:
|
||||
gitea: "{{ gitea }}"
|
||||
|
||||
hard_disk__postgres_databases:
|
||||
gitea: "{{ gitea_database }}"
|
||||
gitea: "{{ gitea_database }}"
|
||||
|
||||
hard_disk__nfs:
|
||||
server_ip: "{{ ansible_host }}"
|
||||
ks_namespace: kube-system
|
||||
export_directory: /arcodange/nfs
|
||||
@@ -35,7 +35,7 @@ gitea:
|
||||
networks:
|
||||
- gitea
|
||||
ports:
|
||||
- "80:3000"
|
||||
- "3000:3000"
|
||||
- "2222:22"
|
||||
volumes:
|
||||
- /arcodange/{{gitea_partition}}/gitea/data:/data
|
||||
|
||||
@@ -6,10 +6,10 @@ raspberries:
|
||||
ansible_host: pi2.home
|
||||
|
||||
internetPi1:
|
||||
ansible_host: rg-evry.changeip.co
|
||||
ansible_host: arcodange.duckdns.org
|
||||
ansible_port: 51022
|
||||
internetPi2:
|
||||
ansible_host: rg-evry.changeip.co
|
||||
ansible_host: arcodange.duckdns.org
|
||||
ansible_port: 52022
|
||||
|
||||
vars:
|
||||
@@ -17,12 +17,15 @@ raspberries:
|
||||
|
||||
local:
|
||||
hosts:
|
||||
localhost:
|
||||
ansible_connection: local
|
||||
ansible_python_interpreter: /Users/gabrielradureau/.local/pipx/venvs/ansible-core/bin/python
|
||||
pi1:
|
||||
pi2:
|
||||
|
||||
hard_disk:
|
||||
hosts:
|
||||
pi2 # 4To toshiba external hard drive (/dev/sda)
|
||||
pi2: # 4To toshiba external hard drive (/dev/sda)
|
||||
|
||||
postgres:
|
||||
children:
|
||||
|
||||
Reference in New Issue
Block a user