Commit 9162cbf7 by Feanil Patel

Add a role path so that it works from the small_deployment directory as well.

parent 1e96c88f
......@@ -6,5 +6,5 @@
jinja2_extensions=jinja2.ext.do
host_key_checking = False
roles_path=../../ansible-roles/roles:../../ansible-private/roles:../../ansible-roles/
ansible_managed=This file is created and updated by ansible, edit at your peril
\ No newline at end of file
roles_path=../../ansible-roles/roles:../../ansible-private/roles:../../ansible-roles/:../roles
ansible_managed=This file is created and updated by ansible, edit at your peril
......@@ -20,6 +20,7 @@
mysql_user:
name: "{{ item.user }}"
password: "{{ item.pass }}"
host: "{{ item.host }}"
priv: "{{ item.db }}.*:ALL"
append_privs: yes
when: item.db != None and item.db != ''
......@@ -29,6 +30,7 @@
mysql_user:
name: "{{ COMMON_MYSQL_MIGRATE_USER }}"
password: "{{ COMMON_MYSQL_MIGRATE_PASS }}"
host: "{{ item.host }}"
priv: "{{ item }}.*:ALL"
append_privs: yes
when: item != None and item != ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment