Hello,

I am working on a playbook to create a new MySQL user and grant it specific 
privileges. This task works successfully:
  - name: Create new database user
    mysql_user: login_user={{ mysql_root_user }} login_password={{ 
mysql_root_pass }} name=myuser password={{ user_password }} 
priv=*.*:ALL,GRANT host=localhost state=present

However, I cannot figure out how to grant the PROXY privilege to the user, 
what would be the equivalent of this SQL statement:
GRANT PROXY on ''@'' TO 'myuser'@'localhost' WITH GRANT OPTION;

How can I write a task to grant the PROXY privilege?

Thanks,

Andrew

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to