forked from ilkilab/agorakube
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hosts
33 lines (24 loc) · 729 Bytes
/
hosts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[deploy]
deploy ansible_connection=local ansible_python_interpreter=/usr/bin/python3
[masters]
master1 ansible_host=10.10.20.4
[etcd]
master1 ansible_host=10.10.20.4
[workers]
worker2 ansible_host=10.10.20.5
worker3 ansible_host=10.10.20.6
[storage]
worker4 ansible_host=10.10.20.20
[all:vars]
advertise_masters=10.10.20.4
#advertise_masters=kubernetes.localcluster.lan
# SSH connection settings
ansible_ssh_extra_args=-o StrictHostKeyChecking=no
ansible_user=vagrant
ansible_ssh_private_key_file=/home/vagrant/ssh-private-key.pem
# Python version
# If centOS-7, use python2.7
# If no-CentOS-7, use Python3
ansible_python_interpreter=/usr/bin/python3
[etc_hosts]
#kubernetes.localcluster.lan ansible_host=10.10.20.4