airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata] branch develop updated: Grant access to localhost separately
Date Fri, 21 Dec 2018 17:41:05 GMT
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 <machrist@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


Mime
View raw message