airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [05/27] airavata git commit: created Debian-specifig dependency include
Date Wed, 08 Mar 2017 15:15:17 GMT
created Debian-specifig dependency include

include file for Debian-specific dependency installation
since package names are different; could also potentially
handle this via a list variable, but for now just getting
this to work.


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

Branch: refs/heads/develop
Commit: 025faa611fb3075cf9e2bb1ae9d1c033ac31dc29
Parents: 42b84f9
Author: jecoulte <jecoulte@iu.edu>
Authored: Fri Jan 27 10:08:59 2017 -0500
Committer: jecoulte <jecoulte@iu.edu>
Committed: Fri Jan 27 10:08:59 2017 -0500

----------------------------------------------------------------------
 .../roles/pga/tasks/install_deps_Debian.yml     | 35 ++++++++++++++++++++
 1 file changed, 35 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/025faa61/dev-tools/ansible/roles/pga/tasks/install_deps_Debian.yml
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/roles/pga/tasks/install_deps_Debian.yml b/dev-tools/ansible/roles/pga/tasks/install_deps_Debian.yml
new file mode 100644
index 0000000..d50f095
--- /dev/null
+++ b/dev-tools/ansible/roles/pga/tasks/install_deps_Debian.yml
@@ -0,0 +1,35 @@
+---
+
+- name: Install prerequisites
+  apt: name="{{ item }}" state=latest update_cache=yes
+  with_items:
+    - git
+    - apache2
+    - php5
+    - php-soap
+    - python-selinux
+    - openssl
+    - curl
+    - php5-mysql
+    - php5-mcrypt
+  become: yes
+
+- name: install composer
+  shell: curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin
--filename=composer
+  args:
+    creates: /usr/local/bin/composer
+  become: yes
+
+# this just creates symlinks in /etc/php5/{apache2,cli}/conf.d/20-mcryp.ini to /etc/php5/modules-avail/mcrypt.ini
+- name: enable mcrypt
+  command: php5enmod mcrypt
+  become: yes
+
+- name: create apache2 logdir
+  file:
+   path: /etc/apache2/logs
+   state: directory
+   owner: www-data
+   group: www-data
+   mode: 0775
+   


Mime
View raw message