can the mysql_user module include additional user requirements?

52 views
Skip to first unread message

Brent Langston

unread,
Feb 24, 2014, 3:59:21 PM2/24/14
to ansible...@googlegroups.com

I'd like to use the mysql_user module to create accounts that look like this:

 

GRANT ALL PRIVILEGES ON *.* TO ‘bob’@'%’ IDENTIFIED BY ‘pass’ REQUIRE SSL;


Looking at the docs, it's not immediately obvious how to do this.
- mysql_user: name=bob host='%' password=pass priv=*.*:ALL state=present
gets close, but doesn't include the "REQUIRE SSL" portion.  Is it possible to include "REQUIRE SSL" during account creation?
 

Michael DeHaan

unread,
Feb 24, 2014, 4:00:31 PM2/24/14
to ansible...@googlegroups.com
The module will likely require enhancement to take such options.





--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4d0d4cdf-40cc-4aa8-9817-a94f3fe659ea%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages