Skip to content

Commit 497d218

Browse files
committed
oracluvfy did not fail when error was detected
1 parent 5707406 commit 497d218

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

changelogs/fragments/cluvfy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
bugfixes:
3+
- "oracluvfy did not fail when error was detected ()"

roles/oracluvfy/tasks/execute_cluvfy.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,15 @@
3737
environment: |-
3838
{{ oracle_script_env | ansible.utils.remove_keys(target=['CV_ASSUME_DISTID']) }}
3939
40+
- name: execute_cluvfy | Show result
41+
ansible.builtin.debug:
42+
var: cluvfy_execute_res.stdout_lines
43+
4044
rescue:
41-
- name: execute_cluvfy | cluvfy failed
42-
ansible.builtin.fail:
43-
msg: See next task for details
4445

45-
always:
46-
- name: execute_cluvfy | Show result
46+
- name: execute_cluvfy | Show result from failed cluvfy
4747
ansible.builtin.debug:
4848
var: cluvfy_execute_res.stdout_lines
49+
50+
- name: execute_cluvfy | cluvfy failed
51+
ansible.builtin.fail:

0 commit comments

Comments
 (0)