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
fadc97ce
Commit
fadc97ce
authored
May 03, 2016
by
Brian Beggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Launch instance CD plabook now creates an inventory file for use in downstream ansible plays
parent
8fa82143
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
playbooks/continuous_delivery/launch_instance.yml
+6
-0
playbooks/continuous_delivery/templates/local/inventory.j2
+4
-0
No files found.
playbooks/continuous_delivery/launch_instance.yml
View file @
fadc97ce
...
...
@@ -90,4 +90,10 @@
dest
:
"
{{
artifact_path
}}/key.pem"
mode
:
0600
-
name
:
Generate ansible inventory file
template
:
src
:
templates/local/inventory.j2
dest
:
"
{{
artifact_path
}}/ansible_inventory"
mode
:
0600
playbooks/continuous_delivery/templates/local/inventory.j2
0 → 100644
View file @
fadc97ce
{% for instance in ec2_instance_register.instances %}
{{ instance.private_ip }}
{% endfor %}
\ No newline at end of file
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