-
Notifications
You must be signed in to change notification settings - Fork 24.2k
add mysql options to mysql_user module #26581
Copy link
Copy link
Closed
Labels
affects_2.4This issue/PR affects Ansible v2.4This issue/PR affects Ansible v2.4databaseDatabase categoryDatabase categoryfeatureThis issue/PR relates to a feature request.This issue/PR relates to a feature request.moduleThis issue/PR relates to a module.This issue/PR relates to a module.mysqlsupport:communityThis issue/PR relates to code supported by the Ansible community.This issue/PR relates to code supported by the Ansible community.testThis PR relates to tests.This PR relates to tests.
Metadata
Metadata
Assignees
Labels
affects_2.4This issue/PR affects Ansible v2.4This issue/PR affects Ansible v2.4databaseDatabase categoryDatabase categoryfeatureThis issue/PR relates to a feature request.This issue/PR relates to a feature request.moduleThis issue/PR relates to a module.This issue/PR relates to a module.mysqlsupport:communityThis issue/PR relates to code supported by the Ansible community.This issue/PR relates to code supported by the Ansible community.testThis PR relates to tests.This PR relates to tests.
ISSUE TYPE
COMPONENT NAME
mysql_user
ANSIBLE VERSION
OS / ENVIRONMENT
Ubuntu16.04 managing Ubuntu14.04
SUMMARY
When creating a new user using mysql_user module I cannot add extra options to user created such as MAX_USER_CONNECTIONS,MAX_CONNECTIONS_PER_HOUR etc...
STEPS TO REPRODUCE
This can be used to setup resource limits for new users as described in this web page: https://dev.mysql.com/doc/refman/5.7/en/user-resources.html
EXPECTED RESULTS
A new user called mohsen should be created and it must be limited to 50 total connections