summaryrefslogtreecommitdiffstats
path: root/roles/openshift_aws/filter_plugins/openshift_aws_filters.py
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-10-31 09:17:59 -0400
committerKenny Woodson <kwoodson@redhat.com>2017-11-01 18:38:40 +0000
commit082ed08a07f6c61e45c69dec8006f4034f8d80dd (patch)
treeb5d8595ea58ed6ed95de7533f2e8e4bab2d662c1 /roles/openshift_aws/filter_plugins/openshift_aws_filters.py
parentf879d554c44b529b26b9908cd61b0e7e7cebf102 (diff)
downloadopenshift-082ed08a07f6c61e45c69dec8006f4034f8d80dd.tar.gz
openshift-082ed08a07f6c61e45c69dec8006f4034f8d80dd.tar.bz2
openshift-082ed08a07f6c61e45c69dec8006f4034f8d80dd.tar.xz
openshift-082ed08a07f6c61e45c69dec8006f4034f8d80dd.zip
Adding elb changes to provision elbs and add to scale group.
Diffstat (limited to 'roles/openshift_aws/filter_plugins/openshift_aws_filters.py')
-rw-r--r--roles/openshift_aws/filter_plugins/openshift_aws_filters.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/openshift_aws/filter_plugins/openshift_aws_filters.py b/roles/openshift_aws/filter_plugins/openshift_aws_filters.py
index 06e1f9602..a9893c0a7 100644
--- a/roles/openshift_aws/filter_plugins/openshift_aws_filters.py
+++ b/roles/openshift_aws/filter_plugins/openshift_aws_filters.py
@@ -9,17 +9,17 @@ class FilterModule(object):
''' Custom ansible filters for use by openshift_aws role'''
@staticmethod
- def build_instance_tags(clusterid, status='owned'):
+ def build_instance_tags(clusterid):
''' This function will return a dictionary of the instance tags.
The main desire to have this inside of a filter_plugin is that we
need to build the following key.
- {"kubernetes.io/cluster/{{ openshift_aws_clusterid }}": 'owned'}
+ {"kubernetes.io/cluster/{{ openshift_aws_clusterid }}": "{{ openshift_aws_clusterid}}"}
'''
tags = {'clusterid': clusterid,
- 'kubernetes.io/cluster/{}'.format(clusterid): status}
+ 'kubernetes.io/cluster/{}'.format(clusterid): clusterid}
return tags