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
OpenEdx
configuration
Commits
47337915
Commit
47337915
authored
8 years ago
by
arbabnazar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ansible 2.x error
parent
107bdedd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
playbooks/roles/launch_ec2/tasks/main.yml
+4
-4
No files found.
playbooks/roles/launch_ec2/tasks/main.yml
View file @
47337915
...
...
@@ -66,7 +66,7 @@
ttl
:
300
record
:
"
{{
dns_name
}}.{{
dns_zone
}}"
value
:
"
{{
item.public_dns_name
}}"
with_items
:
ec2.instances
with_items
:
"
{{
ec2.instances
}}"
-
name
:
Add DNS names for services
local_action
:
...
...
@@ -79,7 +79,7 @@
record
:
"
{{
item[1]
}}-{{
dns_name
}}.{{
dns_zone
}}"
value
:
"
{{
item[0].public_dns_name
}}"
with_nested
:
-
ec2.instances
-
"
{{
ec2.instances
}}"
-
[
'
studio'
,
'
ecommerce'
,
'
preview'
,
'
programs'
,
'
discovery'
,
'
credentials'
]
-
name
:
Add new instance to host group
...
...
@@ -87,7 +87,7 @@
module
:
add_host
hostname
:
"
{{
item.public_ip
}}"
groups
:
launched
with_items
:
ec2.instances
with_items
:
"
{{
ec2.instances
}}"
-
name
:
Wait for SSH to come up
local_action
:
...
...
@@ -97,4 +97,4 @@
port
:
22
delay
:
60
timeout
:
320
with_items
:
ec2.instances
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