During testing, we found that any table containing a colon would result in errors.
priv = "*.*:USAGE/xxxx-web-prod:wordpress.*:ALL"
The existing code splits "xxxx-web-prod:wordpress.:ALL" into a list with three values which will cause errors when dbpriv is evaluated.
['xxxx-web-prod', 'wordpress`.', 'ALL']`
Using rsplit(':', 1) on the string results in a list with two values as expected.
['xxxx-web-prod:wordpress.*', 'ALL']
During testing, we found that any table containing a colon would result in errors.
priv = "*.*:USAGE/
xxxx-web-prod:wordpress.*:ALL"
The existing code splits "
xxxx-web-prod:wordpress
.:ALL" into a list with three values which will cause errors when dbpriv is evaluated.['
xxxx-web-prod', 'wordpress`.', 'ALL']`Using rsplit(':', 1) on the string results in a list with two values as expected.
['
xxxx-web-prod:wordpress.*', 'ALL']
This repository is locked
Please open all new issues and pull requests in https://github.com/ansible/ansible
For more information please see http://docs.ansible.com/ansible/dev_guide/repomerge.html