summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/cloud/amazon/ec2_elb.py
diff options
context:
space:
mode:
authorMichael DeHaan <michael@ansible.com>2014-12-01 15:14:57 -0500
committerMatt Clay <matt@mystile.com>2016-12-08 11:22:29 -0500
commit76efaa6cfbaca4703e552f1b1b2b647f46b6b533 (patch)
tree7f92b73cedcd2330c465bb5ee56cadbd9d966912 /lib/ansible/modules/cloud/amazon/ec2_elb.py
parent590d20db247290285495b17bc82baf660c3dd727 (diff)
downloadansible-76efaa6cfbaca4703e552f1b1b2b647f46b6b533.tar.gz
More EC2 doc tweaks
Diffstat (limited to 'lib/ansible/modules/cloud/amazon/ec2_elb.py')
-rw-r--r--lib/ansible/modules/cloud/amazon/ec2_elb.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/ansible/modules/cloud/amazon/ec2_elb.py b/lib/ansible/modules/cloud/amazon/ec2_elb.py
index 42cb181902..52f8c4a4bf 100644
--- a/lib/ansible/modules/cloud/amazon/ec2_elb.py
+++ b/lib/ansible/modules/cloud/amazon/ec2_elb.py
@@ -80,18 +80,18 @@ EXAMPLES = """
# basic pre_task and post_task example
pre_tasks:
- name: Gathering ec2 facts
- ec2_facts:
+ action: ec2_facts
- name: Instance De-register
- local_action: ec2_elb
- args:
+ local_action:
+ module: ec2_elb
instance_id: "{{ ansible_ec2_instance_id }}"
state: 'absent'
roles:
- myrole
post_tasks:
- name: Instance Register
- local_action: ec2_elb
- args:
+ local_action:
+ module: ec2_elb
instance_id: "{{ ansible_ec2_instance_id }}"
ec2_elbs: "{{ item }}"
state: 'present'