We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08f4830 commit 9c0f410Copy full SHA for 9c0f410
src/roles/ha_db_hana/tasks/resource-migration.yml
@@ -61,7 +61,11 @@
61
ignore_errors: true
62
always:
63
- name: "Test Execution: Set the resource name"
64
- when: hana_resource_id.rc == 0
+ when:
65
+ - hana_resource_id.rc == 0
66
+ - hana_resource_id.stdout is defined
67
+ - hana_resource_id.stdout | type_debug != 'NoneType'
68
+ - hana_resource_id.stdout | trim | length > 1
69
ansible.builtin.set_fact:
70
hana_resource_name: "{{ hana_resource_id.stdout }}"
71
0 commit comments