Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
08855231
Commit
08855231
authored
Jul 05, 2014
by
James Cammarata
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8023 from btashton/patch-1
ansible_ec2_instance-id key incorrect
parents
1f813ba1
a9e23cf0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docsite/rst/guide_aws.rst
+2
-2
No files found.
docsite/rst/guide_aws.rst
View file @
08855231
...
@@ -266,7 +266,7 @@ Example 4
...
@@ -266,7 +266,7 @@ Example 4
- debug: var=hostvars[inventory_hostname]
- debug: var=hostvars[inventory_hostname]
# just show the instance-id
# just show the instance-id
- debug: msg="{{ hostvars[inventory_hostname]['ansible_ec2_instance
-
id'] }}"
- debug: msg="{{ hostvars[inventory_hostname]['ansible_ec2_instance
_
id'] }}"
# Using the instanceid, call the ec2 module
# Using the instanceid, call the ec2 module
...
@@ -288,7 +288,7 @@ Example 4
...
@@ -288,7 +288,7 @@ Example 4
region={{ region }}
region={{ region }}
instance_ids={{ item }}
instance_ids={{ item }}
wait=true
wait=true
with_items: hostvars[inventory_hostname]['ansible_ec2_instance
-
id']
with_items: hostvars[inventory_hostname]['ansible_ec2_instance
_
id']
.. note:: more examples of this are pending. You may also be interested in the ec2_ami module for taking AMIs of running instances.
.. note:: more examples of this are pending. You may also be interested in the ec2_ami module for taking AMIs of running instances.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment