Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
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
edx
configuration
Commits
669bb9e3
Commit
669bb9e3
authored
9 years ago
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1950 from edx/feanil/fix_module_error
Update syntax to match the new format.
parents
7aa163dd
b59291bd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
playbooks/roles/launch_ec2/tasks/main.yml
+11
-11
No files found.
playbooks/roles/launch_ec2/tasks/main.yml
View file @
669bb9e3
...
...
@@ -91,18 +91,18 @@
-
name
:
Add new instance to host group
local_action
:
>
add_host
hostname={{ item.public_ip }}
groupname=
launched
local_action
:
module
:
add_host
hostname
:
"
{{
item.public_ip
}}"
groups
:
launched
with_items
:
ec2.instances
-
name
:
Wait for SSH to come up
local_action
:
>
wait_for
host={{ item.public_dns_name }}
state=
started
port=
22
delay=
60
timeout=
320
local_action
:
module
:
wait_for
host
:
"
{{
item.public_dns_name
}}"
state
:
started
port
:
22
delay
:
60
timeout
:
320
with_items
:
ec2.instances
This diff is collapsed.
Click to expand it.
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