Files
xinfra/ansible/inventory.example.yml
T

12 lines
339 B
YAML
Raw Normal View History

all:
children:
mysql_hosts:
hosts:
k8s-server-01: { ansible_host: 192.168.1.4 }
k8s-server-02: { ansible_host: 192.168.1.5 }
k8s-server-03: { ansible_host: 192.168.1.2 }
k8s-worker-01: { ansible_host: 192.168.1.3 }
vars:
ansible_user: root
ansible_python_interpreter: /usr/bin/python3