Add GPU K8s reset playbook, rename init file, update inventory
This commit is contained in:
parent
2788c80815
commit
ce86876892
@ -1,7 +1,7 @@
|
||||
[all]
|
||||
k8s-1 ansible_host=43.207.228.137
|
||||
k8s-2 ansible_host=57.182.251.106
|
||||
k8s-3 ansible_host=18.179.59.49
|
||||
k8s-1 ansible_host=13.158.69.227
|
||||
k8s-2 ansible_host=57.183.6.87
|
||||
k8s-3 ansible_host=43.207.133.165
|
||||
|
||||
[all:vars]
|
||||
ansible_port=22
|
||||
|
||||
13
playbooks/gpu_k8s_reset.yml
Normal file
13
playbooks/gpu_k8s_reset.yml
Normal file
@ -0,0 +1,13 @@
|
||||
- hosts: all
|
||||
become: true
|
||||
vars:
|
||||
# Use the inventory hostname for delegation so Ansible
|
||||
# applies the correct connection variables
|
||||
ops_host: "k8s-1"
|
||||
masters:
|
||||
- "k8s-1"
|
||||
nodes:
|
||||
- "k8s-2"
|
||||
- "k8s-3"
|
||||
roles:
|
||||
- roles/vhosts/gpu-k8s-reset/
|
||||
Loading…
Reference in New Issue
Block a user