forked from Alfresco/alfresco-ansible-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
inventory_ssh.yml
45 lines (44 loc) · 1.22 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
---
all:
vars:
## EACH OF THE VARIABLES BELLOW CAN BE MOVED TO A GROUPS (all.children.*.vars) OR
## HOSTS (all.children.group.hosts.*) SEcTIONS IN CASE VARS NEED TO DIFFER FOR EACH.
## PRECEDENCE; HOSTS_VARS > GROUPS_VARS > GLOBAL_VARS.
# More details: https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#define-variables-in-inventory
ansible_connection: ssh
# Comment if no SSH key is used and use `-k` on the command line instead (or `-K`in case sudo requires password)
ansible_private_key_file: "/path/ssh_key.dsa"
ansible_user: root
children:
database:
hosts:
database_1:
ansible_host: targetIP
repository:
hosts:
repository_1:
ansible_host: targetIP
activemq:
hosts:
activemq_1:
ansible_host: targetIP
search:
hosts:
search_1:
ansible_host: targetIP
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