romach
4/15/2017 - 4:45 PM

Inventory file

Inventory file

my_local ansible_connection=local

[servers:children]
appservers
webservers

[appservers]          ; group
146.185.156.228:1234  ; ip:port
server.com            ; host

[webservers]
webserver.com

; custom host definition
host_name ansible_host=123.456.789.123 ansible_port=1234 ansible_user=user_name