-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinventory_vagrant
40 lines (30 loc) · 904 Bytes
/
inventory_vagrant
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
34
35
36
37
38
39
40
# gitlab demo inventory
# ansible.cfg sets global default python_interpeter=/usr/libexec/platform-python
[gitlab]
gitlab2 ansible_host=192.168.10.102
gitlab7 ansible_host=192.168.10.107
[gitlab:vars]
ansible_python_interpreter=/usr/bin/python
[gitlab_py3]
gitlab8 ansible_host=192.168.10.108
gitlab9 ansible_host=192.168.10.109
gitlab10 ansible_host=192.168.10.110
gitlab11 ansible_host=192.168.10.111
gitlab18 ansible_host=192.168.10.118
gitlab20 ansible_host=192.168.10.120
gitlab22 ansible_host=192.168.10.122
[gitlab_py3:vars]
ansible_python_interpreter=/usr/bin/python3
[lbr]
lbr20 ansible_host=192.168.10.100
[lbr:vars]
ansible_python_interpreter=/usr/bin/python3
# Group 'all' with all servers
[all:children]
gitlab
gitlab_py3
lbr
[all:vars]
ansible_ssh_user=vagrant
ansible_ssh_private_key_file=~/.vagrant.d/insecure_private_key
ansible_ssh_common_args='-o StrictHostKeyChecking=no'