summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/database
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2016-02-26 16:44:27 +0800
committerJustin chi <chigang@huawei.com>2016-02-27 03:02:58 +0000
commit519706e5c3d5905975a59add1f3c5c4960343227 (patch)
tree0c23b5a3dff1c7857dcb095950f1fb7aff145ce6 /deploy/adapters/ansible/roles/database
parent94320b6ae2a0649275d52a17db866383fb6ac5fe (diff)
bugfix: remove useless database user permission
JIRA: COMPASS-325 Change-Id: Ia1ad24e6d02f1a232f085dd0ad4f96297f79834e Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/database')
-rw-r--r--deploy/adapters/ansible/roles/database/tasks/mariadb_config.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/roles/database/tasks/mariadb_config.yml b/deploy/adapters/ansible/roles/database/tasks/mariadb_config.yml
index f9811dfa..2ab10c0d 100644
--- a/deploy/adapters/ansible/roles/database/tasks/mariadb_config.yml
+++ b/deploy/adapters/ansible/roles/database/tasks/mariadb_config.yml
@@ -23,7 +23,7 @@
state=present
with_nested:
- "{{ credentials }}"
- - ['%', 'localhost', '{{ inventory_hostname }}']
+ - ['%', 'localhost']
tags:
- test_user
@@ -35,4 +35,4 @@
priv=*.*:ALL,GRANT
host={{ item }}
state=present
- with_items: ['%', 'localhost', '{{ inventory_hostname }}']
+ with_items: ['%', 'localhost']