Explorar o código

uninstall node group: fix deprecated syntax

Vadim Rutkovsky %!s(int64=7) %!d(string=hai) anos
pai
achega
c7fb840ae7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      roles/openshift_aws/tasks/uninstall_node_group.yml

+ 1 - 1
roles/openshift_aws/tasks/uninstall_node_group.yml

@@ -44,5 +44,5 @@
     name: "{{ item.launch_configuration_name }}"
     state: absent
     region: "{{ openshift_aws_region }}"
-  when: item.launch_configuration_name is match("^{{ openshift_aws_node_group.name }}.*")
+  when: item.launch_configuration_name is match("^" ~ openshift_aws_node_group.name ~ ".*")
   with_items: "{{ l_launch_config_list.launch_configurations }}"