summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
Diffstat (limited to 'inventory')
-rw-r--r--inventory/add_host6
1 files changed, 4 insertions, 2 deletions
diff --git a/inventory/add_host b/inventory/add_host
index 997c8b87..c3085fcd 100644
--- a/inventory/add_host
+++ b/inventory/add_host
@@ -26,8 +26,10 @@ EXAMPLES = '''
- add_host: hostname=${ip_from_ec2} groups=just_created foo=42
# add a host with a non-standard port local to your machines
-- add_host: hostname='${new_ip}:${new_port}'
+- add_host: hostname='${new_ip}:${new_port}'
# add a host alias that we reach through a tunnel
-- add_host: hostname=${new_ip} ansible_ssh_host=${inventory_hostname} ansible_ssh_port=${new_port}'
+- add_host: hostname=${new_ip}
+ ansible_ssh_host=${inventory_hostname}
+ ansible_ssh_port=${new_port}'
'''