You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2018/12/21 17:41:05 UTC

[airavata] branch develop updated: Grant access to localhost separately

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/develop by this push:
     new e889b3a  Grant access to localhost separately
e889b3a is described below

commit e889b3a05aaee8627c68810185d2fe63d0099e7e
Author: Marcus Christie <ma...@iu.edu>
AuthorDate: Fri Dec 21 12:36:43 2018 -0500

    Grant access to localhost separately
---
 dev-tools/ansible/roles/database/tasks/main.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-tools/ansible/roles/database/tasks/main.yml b/dev-tools/ansible/roles/database/tasks/main.yml
index 298d7b9..775d405 100644
--- a/dev-tools/ansible/roles/database/tasks/main.yml
+++ b/dev-tools/ansible/roles/database/tasks/main.yml
@@ -121,7 +121,9 @@
   mysql_user: name="{{ db_user }}" password="{{ db_password }}" host="{{ hostvars[item]['ansible_default_ipv4']['address'] }}"
   with_items:
     - "{{ groups['api-orch'] }}"
-    - "localhost"
+
+- name: give access to {{ db_user }} from localhost
+  mysql_user: name="{{ db_user }}" password="{{ db_password }}" host="localhost"
 
 # TODO: database access from GFac is no longer needed (GFac deprecated and only using Registry API)
 - name: give access to {{ db_user }} from remote