forked from lexrus/ios-dev-playbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathansible_hosts.example
46 lines (34 loc) · 1.01 KB
/
ansible_hosts.example
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
# A example of Ansible Invetery
# Some useful parameters:
# - ansible_ssh_port
# - ansible_ssh_user
# - ansible_ssh_private_key_file
# Check out http://www.ansibleworks.com/docs/patterns.html#list-of-reserved-inventory-parameters
# for all possible parameters
# **Replace all MY_SRV with your host name**
localhost ansible_connection=local
[cloud]
cloud001.MY_SRV.com ansible_ssh_user=root ansible_ssh_private_key_file=~/.ssh/id_rsa
[countly]
countly.MY_SRV.com ansible_ssh_user=root set_hostname=false
[gitlab]
git.MY_SRV.com ansible_ssh_user=root
[jenkins]
jenkins.MY_SRV.com
[ghost]
ghost.MY_SRV.com
[cow_backend]
cow[1:3].MY_SRV.com
[cow_backend:vars]
cow_backend_port=9635
cow_password=cow-very-long-password-5123561
[cow_frontend]
apn.MY_SRV.com
[cow_frontend:vars]
cow_frontend_port=9820
cow_password=cow-very-long-password-5123561
cow_backend_servers=["do001.MY_SRV.com", "do002.MY_SRV.com", "do003.MY_SRV.com"]
[shadowsocks]
ln001.MY_SRV.com
[shadowsocks:vars]
password=superlongpassword203985