diff --git a/tasks/oracle/create_db_users.yml b/tasks/oracle/create_db_users.yml index e75e0ec54a6e8fc00e72ad7dbc541b36cff68911..c8f28c59cae80d24766e1d6db5601e645c79eeae 100644 --- a/tasks/oracle/create_db_users.yml +++ b/tasks/oracle/create_db_users.yml @@ -17,9 +17,9 @@ 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. + - "db_user.msg is defined" - "'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