-
Notifications
You must be signed in to change notification settings - Fork 0
/
hosts
executable file
·31 lines (26 loc) · 1.07 KB
/
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
[bastion]
bastion ansible_host=34.202.208.202
[bastion:vars]
ansible_user=ubuntu
ansible_ssh_private_key_file=~/.ssh/linux.pem
[k3s_nodes]
master ansible_host=10.0.1.217
[k3s_nodes:vars]
ansible_user=ubuntu
ansible_ssh_private_key_file=~/.ssh/linux.pem
ansible_ssh_common_args='-o ProxyCommand="ssh -o StrictHostKeyChecking=no -i ~/.ssh/linux.pem -W %h:%p -q ubuntu@34.202.208.202"'
# # For default key file "~/.ssh/id_rsa"
#ansible_ssh_common_args='-o ProxyJump=ubuntu@54.162.36.225'
[additional_agent_nodes]
worker1 ansible_host=10.0.1.42
worker2 ansible_host=10.0.2.45
[additional_agent_nodes:vars]
ansible_user=ubuntu
ansible_ssh_private_key_file=~/.ssh/linux.pem
ansible_ssh_common_args='-o ProxyCommand=" ssh -o StrictHostKeyChecking=no -i ~/.ssh/linux.pem -W %h:%p -q ubuntu@34.202.208.202"'
[nginx_lb]
nginx_lb ansible_host=10.0.5.107
[nginx_lb:vars]
ansible_user=ubuntu
ansible_ssh_private_key_file=~/.ssh/linux.pem
ansible_ssh_common_args='-o ProxyCommand=" ssh -o StrictHostKeyChecking=no -i ~/.ssh/linux.pem -W %h:%p -q ubuntu@34.202.208.202"'