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:37:25 UTC
[airavata] branch staging updated: Grant access to localhost
separately
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airavata.git
The following commit(s) were added to refs/heads/staging by this push:
new 0bf8495 Grant access to localhost separately
0bf8495 is described below
commit 0bf84951f01fce32abd7d3173fbe922314dbddb8
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