Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rut31337 committed Jan 20, 2025
1 parent 8ec6f60 commit 53cd323
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
retries: 5
delay: 10
until: r_login_command_result.rc == 0

- name: Delete IBM Cloud CoS instance with retries
ansible.builtin.command: "ibmcloud resource service-instance-delete {{ ibmcloud_cos_instance_name }} -f"
register: r_cos_delete_command_result
Expand All @@ -22,7 +22,7 @@
until: r_cos_delete_command_result.rc == 0
failed_when:
- r_cos_delete_command_result.rc != 0
- "was not found" not in r_cos_delete_command_result.stderr
- '"was not found" not in r_cos_delete_command_result.stderr'

- name: Delete IBM Cloud Trusted Profile with retries
ansible.builtin.command: "ibmcloud iam trusted-profile-delete {{ ibmcloud_iam_trusted_profile_name }} -f"
Expand All @@ -32,7 +32,7 @@
until: r_tp_delete_command_result.rc == 0
failed_when:
- r_tp_delete_command_result.rc != 0
- "was not found" not in r_tp_delete_command_result.stderr
- '"was not found" not in r_tp_delete_command_result.stderr'

- name: Delete IBM Cloud resource group with retries
ansible.builtin.command: "ibmcloud resource group-delete {{ ibmcloud_resource_group_name }} -f"
Expand All @@ -42,7 +42,7 @@
until: r_rg_delete_command_result.rc == 0
failed_when:
- r_rg_delete_command_result.rc != 0
- "was not found" not in r_rg_delete_command_result.stderr
- '"was not found" not in r_rg_delete_command_result.stderr'

environment:
IBMCLOUD_API_KEY: "{{ ibmcloud_api_key }}"
Expand Down

0 comments on commit 53cd323

Please sign in to comment.