summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorJan-Piet Mens <jpmens@gmail.com>2013-06-17 08:53:46 +0200
committerJan-Piet Mens <jpmens@gmail.com>2013-06-17 08:53:46 +0200
commit98c14232690b8c58f2f516a490b422f0a6770919 (patch)
tree6fb02197f38b621e426095529f49e87525bd02de /inventory
parent5cbbd2ee6d85031f31aafa23cd608b0a6840468c (diff)
downloadansible-modules-core-98c14232690b8c58f2f516a490b422f0a6770919.tar.gz
Docs: consistently format playbook EXAMPLES
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}'
'''