forked from Alfresco/alfresco-ansible-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinventory_ssh.yml
73 lines (72 loc) · 1.81 KB
/
inventory_ssh.yml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
all:
vars:
# Each ssh variable below can be moved to groups (all.children.*.vars) or
# hosts (all.children.group.hosts.*) sections if they are different for each
# host. precedence; hosts_vars > groups_vars > global_vars. more details:
# https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html#adding-variables-to-inventory
ansible_connection: ssh
ansible_user: root
# Comment if no SSH key is in use and add `-k` on the command line instead
# (or `-K`in case sudo requires a password)
ansible_private_key_file: "/path/to/ssh_key.rsa"
children:
database:
hosts:
database_1:
ansible_host: targetIP
repository:
vars:
# Add at least the Share url bellow
known_urls: []
hosts:
repository_1:
ansible_host: targetIP
activemq:
hosts:
activemq_1:
ansible_host: targetIP
search:
hosts:
search_1:
ansible_host: targetIP
# Enterprise Search section start
# alternative to `search` group
search_enterprise:
hosts:
elasticsearch:
hosts:
# Enterprise Search section end
nginx:
hosts:
nginx_1:
ansible_host: targetIP
adw:
hosts:
adw_1:
ansible_host: targetIP
transformers:
hosts:
transformers_1:
ansible_host: targetIP
syncservice:
hosts:
syncservice_1:
ansible_host: targetIP
other_repo_clients:
hosts:
trusted_resource_consumers:
children:
repository:
nginx:
adw:
other_repo_clients:
external_activemq:
hosts:
external_elasticsearch:
hosts:
external:
children:
external_activemq:
external_elasticsearch:
other_repo_clients: