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
b86c0e05
Unverified
Commit
b86c0e05
authored
Mar 28, 2018
by
Kevin Falcone
Committed by
GitHub
Mar 28, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4432 from edx/jibsheet/cleanup-xqueue-play
This isn't a common cluster machine, don't play with ELBs
parents
39b6f7ed
1687ed81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
39 deletions
+2
-39
playbooks/edx-east/xqueue.yml
+2
-39
No files found.
playbooks/edx-east/xqueue.yml
View file @
b86c0e05
-
name
:
Deploy xqueue
-
name
:
Deploy xqueue
hosts
:
all
hosts
:
all
become
:
True
become
:
True
gather_facts
:
True
vars
:
# By default take instances in and out of the elb(s) they
# are attached to
# To skip elb operations use "-e elb_pre_post=fase"
elb_pre_post
:
true
# Number of instances to operate on at a time
serial_count
:
1
CLUSTER_NAME
:
'
commoncluster'
serial
:
"
{{
serial_count
}}"
pre_tasks
:
-
action
:
ec2_facts
when
:
elb_pre_post
-
debug
:
var
:
ansible_ec2_instance_id
when
:
elb_pre_post
-
name
:
Instance De-register
local_action
:
ec2_elb
args
:
instance_id
:
"
{{
ansible_ec2_instance_id
}}"
region
:
us-east-1
state
:
absent
wait_timeout
:
60
become
:
False
when
:
elb_pre_post
roles
:
roles
:
-
aws
-
aws
-
role
:
automated
-
role
:
automated
...
@@ -40,17 +15,5 @@
...
@@ -40,17 +15,5 @@
when
:
COMMON_ENABLE_SPLUNKFORWARDER
when
:
COMMON_ENABLE_SPLUNKFORWARDER
-
role
:
newrelic
-
role
:
newrelic
when
:
COMMON_ENABLE_NEWRELIC
when
:
COMMON_ENABLE_NEWRELIC
post_tasks
:
-
role
:
newrelic_infrastructure
-
debug
:
when
:
COMMON_ENABLE_NEWRELIC_INFRASTRUCTURE
var
:
ansible_ec2_instance_id
when
:
elb_pre_post
-
name
:
Register instance in the elb
local_action
:
ec2_elb
args
:
instance_id
:
"
{{
ansible_ec2_instance_id
}}"
ec2_elbs
:
"
{{
ec2_elbs
}}"
region
:
us-east-1
state
:
present
wait_timeout
:
60
become
:
False
when
:
elb_pre_post
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