PIKUBERNETES PIKUBERNETES PIKUBERNETES
This commit is contained in:
parent
4fc6d76c86
commit
994fdfff88
@ -2,18 +2,35 @@
|
||||
all:
|
||||
vars:
|
||||
ansible_user: ansible
|
||||
ansible_become: yes
|
||||
children:
|
||||
home:
|
||||
vars:
|
||||
ansible_become: yes
|
||||
children:
|
||||
pik8s:
|
||||
vars:
|
||||
docker_apt_arch: arm64
|
||||
children:
|
||||
pik8s_masters:
|
||||
vars:
|
||||
kubernetes_role: master
|
||||
hosts:
|
||||
pi-kub-master-1.desu.ltd:
|
||||
ansible_host: 192.168.102.1
|
||||
pik8s_nodes:
|
||||
vars:
|
||||
kubernetes_role: node
|
||||
hosts:
|
||||
pi-kub-node-1.desu.ltd:
|
||||
ansible_host: 192.168.102.10
|
||||
pi-kub-node-2.desu.ltd:
|
||||
ansible_host: 192.168.102.11
|
||||
pi-kub-node-3.desu.ltd:
|
||||
ansible_host: 192.168.102.12
|
||||
desktop:
|
||||
hosts:
|
||||
dsk-ryzen-0.desu.ltd:
|
||||
lap-s76-lemp9-0.desu.ltd:
|
||||
prod:
|
||||
vars:
|
||||
ansible_become: yes
|
||||
children:
|
||||
db:
|
||||
hosts:
|
||||
@ -28,8 +45,6 @@ all:
|
||||
hosts:
|
||||
game1.desu.ltd:
|
||||
k8s:
|
||||
vars:
|
||||
ansible_become: yes
|
||||
children:
|
||||
k8s_masters:
|
||||
vars:
|
||||
|
13
playbooks/pik8s.yml
Normal file
13
playbooks/pik8s.yml
Normal file
@ -0,0 +1,13 @@
|
||||
#!/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: zerotier
|
||||
tags: [ k8s, zerotier ]
|
Loading…
Reference in New Issue
Block a user