bugfix: remove useless database user permission 61/10861/2
authorcarey.xu <carey.xuhan@huawei.com>
Fri, 26 Feb 2016 08:44:27 +0000 (16:44 +0800)
committerJustin chi <chigang@huawei.com>
Sat, 27 Feb 2016 03:02:58 +0000 (03:02 +0000)
JIRA: COMPASS-325

Change-Id: Ia1ad24e6d02f1a232f085dd0ad4f96297f79834e
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
deploy/adapters/ansible/roles/database/tasks/mariadb_config.yml

index f9811df..2ab10c0 100644 (file)
@@ -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']