-
Notifications
You must be signed in to change notification settings - Fork 9
/
inventory
61 lines (51 loc) · 1.73 KB
/
inventory
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
# ============================================================
# Author: Chu-Siang Lai / chusiang (at) drx.tw
# Blog: http://note.drx.tw
# Filename: inventory
# Modified: 2017-11-10 00:13
# Description: The managed nodes list for Ansible.
#
# Syntax:
#
# <servername> <options>
# debian-8 ansible_ssh_host=192.168.1.109 ansible_ssh_port=32788
#
# Common Option:
#
# `ansible_ssh_host`: Remote host IP.
# `ansible_ssh_user`: Remote ssh username.
# `ansible_ssh_private_key_file`: ssh private key path.
# `ansible_ssh_port`: ssh port.
# `ansible_ssh_pass`: ssh password. (Not recommended)
#
# Reference: http://docs.ansible.com/ansible/latest/intro_inventory.html
# ============================================================
# Host & Group
##############
[alpine]
#alpine-3.4 ansible_ssh_host=192.168.1.109 ansible_ssh_port=32781
#alpine-3.6 ansible_ssh_host=192.168.1.109 ansible_ssh_port=32782
[archlinux]
#archlinux ansible_ssh_host=192.168.1.109 ansible_ssh_port=32783
[centos]
#centos-7 ansible_ssh_host=192.168.1.109 ansible_ssh_port=32784
[debian]
#debian-7 ansible_ssh_host=192.168.1.109 ansible_ssh_port=32785
#debian-8 ansible_ssh_host=192.168.1.109 ansible_ssh_port=32786
#debian-9 ansible_ssh_host=192.168.1.109 ansible_ssh_port=32787
[opensuse]
#opensuse-42.2 ansible_ssh_host=192.168.1.109 ansible_ssh_port=32788
#opensuse-42.3 ansible_ssh_host=192.168.1.109 ansible_ssh_port=32789
[ubuntu]
#ubuntu-14.04 ansible_ssh_host=192.168.1.109 ansible_ssh_port=32790
#ubuntu-16.04 ansible_ssh_host=192.168.1.109 ansible_ssh_port=32791
# Group of Group
################
[test:children]
alpine
archlinux
centos
debian
opensuse
ubuntu
# vim: ft=ansible :