From 78a4e2cca72b004d9f4bc156fc094945ced533bd Mon Sep 17 00:00:00 2001 From: noelmcloughlin Date: Sat, 18 Sep 2021 23:05:11 +0100 Subject: [PATCH] fix(role): corrected the syntax --- .../gelato-ha-uninstaller/scenarios/clean_gelato_ha.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/roles/gelato-ha-uninstaller/scenarios/clean_gelato_ha.yml b/ansible/roles/gelato-ha-uninstaller/scenarios/clean_gelato_ha.yml index cef18826..7defd3ec 100644 --- a/ansible/roles/gelato-ha-uninstaller/scenarios/clean_gelato_ha.yml +++ b/ansible/roles/gelato-ha-uninstaller/scenarios/clean_gelato_ha.yml @@ -32,9 +32,9 @@ shell: "{{ item }}" become_user: "{{ k8s_user }}" with_items: - - "kubectl patch pvc mongo-0-pv-claim -p '\''{{patch_param }}'\'' --type=merge -n soda-multi-cloud" - - "kubectl patch pvc mongo-1-pv-claim -p '\''{{patch_param }}'\'' --type=merge -n soda-multi-cloud" - - "kubectl patch pvc mongo-2-pv-claim -p '\''{{patch_param }}'\'' --type=merge -n soda-multi-cloud" + - "kubectl patch pvc mongo-0-pv-claim -p '\"{{patch_param }}\"' --type=merge -n soda-multi-cloud" + - "kubectl patch pvc mongo-1-pv-claim -p '\"{{patch_param }}\"' --type=merge -n soda-multi-cloud" + - "kubectl patch pvc mongo-2-pv-claim -p '\"{{patch_param }}\"' --type=merge -n soda-multi-cloud" ignore_errors: yes - name: Pause for 2 seconds