You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TASK [opitzconsulting.ansible_oracle.oradb_manage_grants : Manage role grants (pdb)] ******************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: '>' not supported between instances of 'tuple' and 'int'
Seems like a similar issue as mentioned before for ansible-oracle-modules in #174, #175 and #176 :
Files for the following modules contain "if result > 0" or "if result [0] > 0" or if result [0][0] > 0"
Dear Thorsten, thanks a lot. I am using CDB. Yes - I defined some grants in oracle_databases. To me, this looks like an issue with the underlying Python Syntax. Beste Grüße, Matthias
TASK [opitzconsulting.ansible_oracle.oradb_manage_grants : Manage role grants (pdb)] ******************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: '>' not supported between instances of 'tuple' and 'int'
Seems like a similar issue as mentioned before for ansible-oracle-modules in #174, #175 and #176 :
Files for the following modules contain "if result > 0" or "if result [0] > 0" or if result [0][0] > 0"
oracle_grants.py
oracle_directory.py
oracle_user.py
oracle_role.py
oracle_profile.py
oracle_asmdg.py
oracle_asmvol.py
Should be "if result" instead.
Best regards, Matthias.
The text was updated successfully, but these errors were encountered: