Skip to content

Commit 2834955

Browse files
committed
Fix removal sequence
Signed-off-by: Jan Dušek <JDusek@cz.ibm.com>
1 parent 163383d commit 2834955

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

automation-roles/50-install-cloud-pak/cp4ba/bamoe/tasks/remove.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
dest: "{{ bamoe_output_directory }}/{{ item }}.yaml"
1111
mode: u+rwx
1212
with_items:
13-
- configmaps
14-
- secrets
15-
- persistentvolumeclaims
1613
- services
1714
- deployments
1815

automation-roles/50-install-cloud-pak/cp4ba/ica/tasks/remove.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
validate_certs: false
6666
body_format: json
6767
status_code: [200, 404]
68+
failed_when: false
6869

6970
- name: Remove ibm-genai-index-manager role to genai-service-user
7071
ansible.builtin.uri:
@@ -76,6 +77,7 @@
7677
validate_certs: false
7778
body_format: json
7879
status_code: [200, 404]
80+
failed_when: false
7981

8082
- name: Remove genai-service-user
8183
ansible.builtin.uri:
@@ -86,7 +88,7 @@
8688
force_basic_auth: true
8789
validate_certs: false
8890
body_format: json
89-
register: create_user_result
91+
failed_when: false
9092

9193
- name: Remove role - ibm-genai-document-manager
9294
ansible.builtin.uri:
@@ -98,6 +100,7 @@
98100
validate_certs: false
99101
body_format: json
100102
status_code: [200, 404]
103+
failed_when: false
101104

102105
- name: Remove role - ibm-genai-index-manager
103106
ansible.builtin.uri:
@@ -108,4 +111,5 @@
108111
force_basic_auth: true
109112
validate_certs: false
110113
body_format: json
111-
status_code: [200, 404]
114+
status_code: [200, 404]
115+
failed_when: false

0 commit comments

Comments
 (0)