airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [22/27] airavata git commit: added distro and greater version dependence
Date Wed, 08 Mar 2017 15:15:34 GMT
added distro and greater version dependence

changed to using flags for distro and greater version to pull
in include files - turns out packages are named differently
between Ubuntu releases...


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

Branch: refs/heads/develop
Commit: b49aea33b454252175e77b246ce1224a2895b7fa
Parents: ee8207e
Author: jecoulte <jecoulte@iu.edu>
Authored: Wed Feb 8 13:15:04 2017 -0500
Committer: jecoulte <jecoulte@iu.edu>
Committed: Wed Feb 8 13:15:04 2017 -0500

----------------------------------------------------------------------
 dev-tools/ansible/roles/pga/tasks/main.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/b49aea33/dev-tools/ansible/roles/pga/tasks/main.yml
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/roles/pga/tasks/main.yml b/dev-tools/ansible/roles/pga/tasks/main.yml
index 3244e43..af150db 100644
--- a/dev-tools/ansible/roles/pga/tasks/main.yml
+++ b/dev-tools/ansible/roles/pga/tasks/main.yml
@@ -3,7 +3,10 @@
   file: path="{{ doc_root_dir }}" state=directory
   become: yes
 
-- include: install_deps_{{ ansible_os_family }}.yml
+- debug: 
+   var: ansible_distribution_version
+
+- include: install_deps_{{ ansible_distribution }}_{{ ansible_distribution_major_version
}}.yml
 
 # - name: Check previous deployments
 #   stat: path="{{ doc_root_dir }}" get_md5=no get_checksum=no


Mime
View raw message