Bläddra i källkod

uninstall node group: fix deprecated syntax

Vadim Rutkovsky 7 år sedan
förälder
incheckning
c7fb840ae7
1 ändrade filer med 1 tillägg och 1 borttagningar
  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 }}"