25 lines
952 B
INI
25 lines
952 B
INI
##########################
|
|
# 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
|
|
|