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

fix: correct failure conditions for user creation to cover all cases

parent 8940b4d2
Branches
No related tags found
No related merge requests found
Pipeline #3687 passed
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
state: present state: present
register: db_user register: db_user
failed_when: failed_when:
- "db_user.rc != 0"
# Ignore this error, because usually, the Oracle DB user has running pro- # Ignore this error, because usually, the Oracle DB user has running pro-
# cesses and cannot be changed while the DB is running. # cesses and cannot be changed while the DB is running.
- "db_user.msg is defined"
- "'is currently used by process' not in db_user.msg" - "'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 # The DB user doesn't actually use this dir, but it's nice for admins to put
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment