Skip to content
Snippets Groups Projects
Commit b3693651 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

fix: specify failure modes when editing Oracle DB user

parent b17cb14b
No related branches found
No related tags found
No related merge requests found
Pipeline #3684 failed
......@@ -15,6 +15,12 @@
password_lock: true
shell: "/bin/tcsh"
state: present
register: db_user
failed_when:
- "db_user.rc != 0"
# Ignore this error, because usually, the Oracle DB user has running pro-
# cesses and cannot be changed while the DB is running.
- "'is currently used by process' not in db_user.msg"
# The DB user doesn't actually use this dir, but it's nice for admins to put
# stuff there.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment