Compare commits
3 Commits
4fc6d76c86
...
3b7a130823
Author | SHA1 | Date | |
---|---|---|---|
3b7a130823 | |||
50b7365ade | |||
994fdfff88 |
@ -2,18 +2,31 @@
|
|||||||
all:
|
all:
|
||||||
vars:
|
vars:
|
||||||
ansible_user: ansible
|
ansible_user: ansible
|
||||||
children:
|
|
||||||
home:
|
|
||||||
vars:
|
|
||||||
ansible_become: yes
|
ansible_become: yes
|
||||||
children:
|
children:
|
||||||
|
home:
|
||||||
|
children:
|
||||||
|
pik8s:
|
||||||
|
vars:
|
||||||
|
docker_apt_arch: arm64
|
||||||
|
children:
|
||||||
|
pik8s_masters:
|
||||||
|
vars:
|
||||||
|
kubernetes_role: master
|
||||||
|
hosts:
|
||||||
|
pi-kub-master-1.desu.ltd:
|
||||||
|
pik8s_nodes:
|
||||||
|
vars:
|
||||||
|
kubernetes_role: node
|
||||||
|
hosts:
|
||||||
|
pi-kub-node-1.desu.ltd:
|
||||||
|
pi-kub-node-2.desu.ltd:
|
||||||
|
pi-kub-node-3.desu.ltd:
|
||||||
desktop:
|
desktop:
|
||||||
hosts:
|
hosts:
|
||||||
dsk-ryzen-0.desu.ltd:
|
dsk-ryzen-0.desu.ltd:
|
||||||
lap-s76-lemp9-0.desu.ltd:
|
lap-s76-lemp9-0.desu.ltd:
|
||||||
prod:
|
prod:
|
||||||
vars:
|
|
||||||
ansible_become: yes
|
|
||||||
children:
|
children:
|
||||||
db:
|
db:
|
||||||
hosts:
|
hosts:
|
||||||
@ -28,8 +41,6 @@ all:
|
|||||||
hosts:
|
hosts:
|
||||||
game1.desu.ltd:
|
game1.desu.ltd:
|
||||||
k8s:
|
k8s:
|
||||||
vars:
|
|
||||||
ansible_become: yes
|
|
||||||
children:
|
children:
|
||||||
k8s_masters:
|
k8s_masters:
|
||||||
vars:
|
vars:
|
||||||
|
19
playbooks/pik8s.yml
Normal file
19
playbooks/pik8s.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#!/usr/bin/env ansible-playbook
|
||||||
|
# vim:ft=ansible:
|
||||||
|
---
|
||||||
|
- hosts: pik8s
|
||||||
|
roles:
|
||||||
|
- role: docker
|
||||||
|
tags: [ k8s, docker, skip-pull ]
|
||||||
|
- role: k8s
|
||||||
|
vars:
|
||||||
|
kubernetes_enable_web_ui: yes
|
||||||
|
tags: [ k8s, skip-pull ]
|
||||||
|
- role: motd
|
||||||
|
vars:
|
||||||
|
motd_watch_services_extra:
|
||||||
|
- docker
|
||||||
|
- kubelet
|
||||||
|
tags: [ k8s, motd ]
|
||||||
|
- role: zerotier
|
||||||
|
tags: [ k8s, zerotier ]
|
1
site.yml
1
site.yml
@ -19,4 +19,5 @@
|
|||||||
- import_playbook: playbooks/web.yml
|
- import_playbook: playbooks/web.yml
|
||||||
- import_playbook: playbooks/game.yml
|
- import_playbook: playbooks/game.yml
|
||||||
- import_playbook: playbooks/desktop.yml
|
- import_playbook: playbooks/desktop.yml
|
||||||
|
- import_playbook: playbooks/pik8s.yml
|
||||||
- import_playbook: playbooks/k8s.yml
|
- import_playbook: playbooks/k8s.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user