Skip to content

Commit

Permalink
Add mysql user if not root (#45)
Browse files Browse the repository at this point in the history
* add mysql user

* create mysql user if not root
  • Loading branch information
Natkeeran authored and dannylamb committed Jan 9, 2018
1 parent d685df1 commit c74b185
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions inventory/vagrant/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,10 @@ islandora_extra_centos_packages:
- kernel-devel

postgresql_user: postgres

mysql_users:
- name: "{{ drupal_db_user }}"
host: "%"
password: "{{ drupal_db_password }}"
priv: "{{ drupal_db_name }}.*:ALL"
when: drupal_db_user != 'root'

0 comments on commit c74b185

Please sign in to comment.