diff options
author | Andrew Butcher <abutcher@redhat.com> | 2017-12-18 14:13:38 -0500 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2017-12-18 14:24:40 -0500 |
commit | c3945d39c9264dfa6f393701122d009c7ef2f2a8 (patch) | |
tree | 0413d80cea916ab67214dcdadf941b303de7e742 /roles/openshift_aws/tasks | |
parent | b713000887c5ef1d84d376038aacd0c6966d1692 (diff) | |
download | openshift-c3945d39c9264dfa6f393701122d009c7ef2f2a8.tar.gz openshift-c3945d39c9264dfa6f393701122d009c7ef2f2a8.tar.bz2 openshift-c3945d39c9264dfa6f393701122d009c7ef2f2a8.tar.xz openshift-c3945d39c9264dfa6f393701122d009c7ef2f2a8.zip |
Move node group tags to openshift_aws_{master,node}_group.
Diffstat (limited to 'roles/openshift_aws/tasks')
-rw-r--r-- | roles/openshift_aws/tasks/build_node_group.yml | 2 | ||||
-rw-r--r-- | roles/openshift_aws/tasks/scale_group.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_aws/tasks/build_node_group.yml b/roles/openshift_aws/tasks/build_node_group.yml index 7fb617dd5..9485cc3ac 100644 --- a/roles/openshift_aws/tasks/build_node_group.yml +++ b/roles/openshift_aws/tasks/build_node_group.yml @@ -30,7 +30,7 @@ - name: query all asg's for this cluster ec2_asg_facts: region: "{{ openshift_aws_region }}" - tags: "{{ {'kubernetes.io/cluster/' ~ openshift_aws_clusterid: openshift_aws_clusterid} | combine(l_node_group_config[openshift_aws_node_group.group].tags) }}" + tags: "{{ {'kubernetes.io/cluster/' ~ openshift_aws_clusterid: openshift_aws_clusterid} | combine(openshift_aws_node_group.tags) }}" register: asgs - fail: diff --git a/roles/openshift_aws/tasks/scale_group.yml b/roles/openshift_aws/tasks/scale_group.yml index 3632f7ce9..6ce8c58ba 100644 --- a/roles/openshift_aws/tasks/scale_group.yml +++ b/roles/openshift_aws/tasks/scale_group.yml @@ -22,7 +22,7 @@ else (l_node_group_config[openshift_aws_node_group.group].replace_all_instances | default(omit)) }}" tags: - "{{ openshift_aws_node_group_config_tags - | combine(l_node_group_config[openshift_aws_node_group.group].tags) + | combine(openshift_aws_node_group.tags) | combine({'deployment_serial': l_deployment_serial, 'ami': openshift_aws_ami_map[openshift_aws_node_group.group] | default(openshift_aws_ami)}) }}" - name: append the asg name to the openshift_aws_created_asgs fact |