forked from do-community/ansible-playbooks
-
Notifications
You must be signed in to change notification settings - Fork 1
/
hosts
24 lines (20 loc) · 952 Bytes
/
hosts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
##########################
# DO Community Playbooks
# Example Inventory
##########################
#########################################################################
# The "servers" groups is an example of a group with three servers,
# each identified by a custom alias.
#########################################################################
[servers]
server1 ansible_host=174.138.13.97
server2 ansible_host=188.166.115.68
server3 ansible_host=188.166.123.245
##########################################################################
# Makes sure we use Python 3 (/usr/bin/python3) on remote hosts.
# [servers:vars] sets global values for all nodes in the "servers" group.
# This is necessary because by default Ansible will try to use
# /usr/bin/python, which is not available on newer Ubuntu versions.
#########################################################################
[servers:vars]
ansible_python_interpreter=/usr/bin/python3