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
eaa5f7d0
Commit
eaa5f7d0
authored
Sep 17, 2014
by
e0d
Committed by
Feanil Patel
May 11, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixes
parent
4311f30e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
playbooks/edx-east/edx_service.yml
+13
-12
No files found.
playbooks/edx-east/edx_service.yml
View file @
eaa5f7d0
...
...
@@ -5,6 +5,7 @@
connection
:
local
gather_facts
:
True
vars
:
# TODO remove before merging
ansible_python_interpreter
:
"
/home/edward/.virtualenvs/configuration/bin/python"
state
:
"
present"
tasks
:
...
...
@@ -60,7 +61,7 @@
region
:
"
{{
aws_region
}}"
name
:
"
{{
item.name
}}"
vpc_id
:
"
{{
vpc_id
}}"
cidr
:
"
{{
item.cidr
}}"
cidr
_block
:
"
{{
item.cidr
}}"
az
:
"
{{
item.az
}}"
route_table_id
:
"
{{
item.route_table_id
}}"
tags
:
"
{{
item.tags
}}"
...
...
@@ -80,7 +81,7 @@
region
:
"
{{
aws_region
}}"
name
:
"
{{
item.name
}}"
vpc_id
:
"
{{
vpc_id
}}"
cidr
:
"
{{
item.cidr
}}"
cidr
_block
:
"
{{
item.cidr
}}"
az
:
"
{{
item.az
}}"
route_table_id
:
"
{{
item.route_table_id
}}"
tags
:
"
{{
item.tags
}}"
...
...
@@ -91,14 +92,14 @@
# Stubbed out
# For now we'll be using an existing route table
#
-
name
:
Manage Route Table
ec2_rt
:
state
:
"
{{
state
}}"
region
:
"
{{
aws_region
}}"
name
:
"
{{
rt.name
}}"
vpc_id
:
"
{{
vpc_id
}}"
destination_cidr
:
"
{{
rt.destination_cidr
}}"
target
:
"
local"
# simplifying generalization of instnace-id, gateway-id or local
#
- name: Manage Route Table
#
ec2_rt:
#
state: "{{ state }}"
#
region: "{{ aws_region }}"
#
name: "{{ rt.name }}"
#
vpc_id: "{{ vpc_id }}"
#
destination_cidr: "{{ rt.destination_cidr }}"
#
target: "local" # simplifying generalization of instnace-id, gateway-id or local
-
name
:
Manage ELB
ec2_elb_lb_1.8
:
...
...
@@ -160,7 +161,7 @@
scaling_adjustment
:
"
{{
item.scaling_adjustment
}}"
min_adjustment_step
:
"
{{
item.min_adjustment_step
}}"
cooldown
:
"
{{
item.cooldown
}}"
with_items
:
as
g_policies
with_items
:
scalin
g_policies
register
:
created_policies
-
name
:
Apply function to policy data
...
...
@@ -188,4 +189,4 @@
description
:
"
{{
item.description
}}"
dimensions
:
"
{{
item.dimensions
}}"
alarm_actions
:
"
{{
policy_data.function_output[item.target_policy]
}}"
with_items
:
asg
_alarms
with_items
:
metric
_alarms
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