Commit d8d74e56 by John Jarvis

Merge pull request #715 from edx/jarv/role-to-play

changing role to play
parents 81fd0f47 497a0961
......@@ -672,7 +672,7 @@
],
"Tags":[
{
"Key":"role",
"Key":"play",
"Value":"bastion"
},
{
......@@ -799,7 +799,7 @@
],
"Tags":[
{
"Key":"role",
"Key":"play",
"Value":"admin"
},
{
......
......@@ -2623,7 +2623,7 @@
],
"Tags":[
{
"Key":"role",
"Key":"play",
"Value":"bastion"
},
{
......@@ -3034,7 +3034,7 @@
],
"Tags":[
{
"Key":"role",
"Key":"play",
"Value":"edxapp",
"PropagateAtLaunch":true
},
......@@ -3385,7 +3385,7 @@
],
"Tags":[
{
"Key":"role",
"Key":"play",
"Value":"xqueue",
"PropagateAtLaunch":true
},
......@@ -3719,7 +3719,7 @@
],
"Tags":[
{
"Key":"role",
"Key":"play",
"Value":"rabbitmq",
"PropagateAtLaunch":true
},
......@@ -4089,7 +4089,7 @@
],
"Tags":[
{
"Key":"role",
"Key":"play",
"Value":"xserver",
"PropagateAtLaunch":true
},
......@@ -4396,7 +4396,7 @@
],
"Tags":[
{
"Key":"role",
"Key":"play",
"Value":"rds"
},
{
......@@ -4552,7 +4552,7 @@
],
"Tags":[
{
"Key":"role",
"Key":"play",
"Value":"worker",
"PropagateAtLaunch":true
},
......@@ -4801,7 +4801,7 @@
],
"Tags":[
{
"Key":"role",
"Key":"play",
"Value":"elasticsearch",
"PropagateAtLaunch":true
},
......@@ -5062,7 +5062,7 @@
],
"Tags":[
{
"Key":"role",
"Key":"play",
"Value":"forum",
"PropagateAtLaunch":true
},
......@@ -5452,7 +5452,7 @@
],
"Tags":[
{
"Key":"role",
"Key":"play",
"Value":"mongo",
"PropagateAtLaunch":true
},
......
......@@ -84,7 +84,10 @@ def _ssh_config(args):
for reservation in reservations:
for instance in reservation.instances:
if 'role' in instance.tags:
if 'play' in instance.tags:
logical_id = instance.tags['play']
elif 'role' in instance.tags:
# deprecated, use "play" instead
logical_id = instance.tags['role']
elif 'group' in instance.tags:
logical_id = instance.tags['group']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment