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 2017/02/03 16:25:10 UTC

airavata git commit: AIRAVATA-2305 Specifying user for non-privileged code deploy

Repository: airavata
Updated Branches:
  refs/heads/develop 80dbaba6f -> eb2c38362


AIRAVATA-2305 Specifying user for non-privileged code deploy


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/eb2c3836
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/eb2c3836
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/eb2c3836

Branch: refs/heads/develop
Commit: eb2c383620ec37c52f19735d6389c8a85a5daa68
Parents: 80dbaba
Author: Marcus Christie <ma...@apache.org>
Authored: Fri Feb 3 11:24:17 2017 -0500
Committer: Marcus Christie <ma...@apache.org>
Committed: Fri Feb 3 11:24:17 2017 -0500

----------------------------------------------------------------------
 dev-tools/ansible/dev_airavata_deploy.yml | 11 +++--------
 dev-tools/ansible/group_vars/all.yml      |  4 ++--
 2 files changed, 5 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/eb2c3836/dev-tools/ansible/dev_airavata_deploy.yml
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/dev_airavata_deploy.yml b/dev-tools/ansible/dev_airavata_deploy.yml
index e6b6fa9..7af5e48 100644
--- a/dev-tools/ansible/dev_airavata_deploy.yml
+++ b/dev-tools/ansible/dev_airavata_deploy.yml
@@ -1,19 +1,14 @@
 ---
 
 - hosts: dev-airavata
+  name: deploy api-orch on dev-airavata
   vars:
       git_branch: "develop"
       server_deployment_dir: "{{ deployment_dir }}/api-orch"
       server_name: "api-orch"
+      ansible_user: airavata
   roles:
       - airavata_build
       - airavata_deploy
 
-- hosts: dev-airavata
-  vars:
-      git_branch: "develop"
-      server_deployment_dir: "{{ deployment_dir }}/registry"
-      server_name: "regserver"
-  roles:
-      - airavata_build
-      - airavata_deploy
+# TODO: add gfac

http://git-wip-us.apache.org/repos/asf/airavata/blob/eb2c3836/dev-tools/ansible/group_vars/all.yml
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/group_vars/all.yml b/dev-tools/ansible/group_vars/all.yml
index b6cf3f0..534ac6a 100644
--- a/dev-tools/ansible/group_vars/all.yml
+++ b/dev-tools/ansible/group_vars/all.yml
@@ -1,7 +1,7 @@
 ---
 ansible_connection: ssh
-# ansible_ssh_user: centos
-ansible_ssh_user: root
+# ansible_user: centos
+ansible_user: root
 ansible_ssh_private_key_file: /Users/supun/Desktop/shameera-key.pem
 # ansible_ssh_private_key_file: /Users/syodage/Projects/airavata-ansible/shameera-aws.pem.txt