Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One example for multiple grants ? #12

Open
rgarrigue opened this issue Feb 24, 2014 · 0 comments
Open

One example for multiple grants ? #12

rgarrigue opened this issue Feb 24, 2014 · 0 comments

Comments

@rgarrigue
Copy link
Contributor

Here the command line I'm willing to do with ansible

mysql -u root -p -e "grant all on centreon.* to 'centreon'@localhost identified by 'centreon'; grant all on centreon_storage.* to 'centreon'@localhost identified by 'centreon'; grant all on centreon_status.* to 'centreon'@localhost identified by 'centreon';"

I've a meta/main.yml like this


---
dependencies:
  - { role: httpd }
  - { role: mysql,  mysql_root_db_pass: centreon, mysql_users: [{name: centreon,  pass: centreon, priv: "centreon.*:ALL"}] }
# Need centreon_storage et centreon_status

How would you do that? That could make one more example (or a tweak in a existing one) in the README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant