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/03/08 15:15:21 UTC
[09/27] airavata git commit: moved OS-specific commands to separate
includes
moved OS-specific commands to separate includes
moved dependency installs, firewalld into specific includes
dependent on ansible_os_family - so far these exist for
Debian and RedHat
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/8193c7f0
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/8193c7f0
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/8193c7f0
Branch: refs/heads/develop
Commit: 8193c7f0d6466e7a06d559938867090215d63cf8
Parents: 09c8f51
Author: jecoulte <je...@iu.edu>
Authored: Fri Jan 27 11:35:47 2017 -0500
Committer: jecoulte <je...@iu.edu>
Committed: Fri Jan 27 11:35:47 2017 -0500
----------------------------------------------------------------------
dev-tools/ansible/roles/pga/tasks/main.yml | 29 +------------------------
1 file changed, 1 insertion(+), 28 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata/blob/8193c7f0/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 b267119..7db9b2d 100644
--- a/dev-tools/ansible/roles/pga/tasks/main.yml
+++ b/dev-tools/ansible/roles/pga/tasks/main.yml
@@ -3,34 +3,7 @@
file: path="{{ doc_root_dir }}" state=directory
become: yes
-- name: Install pre-requireties
- yum: name="{{ item }}" state=latest update_cache=yes
- with_items:
- - git
- - httpd
- - php
- - php-soap
- - libselinux-python
- - php-pdo
- become: yes
-
-# - name: Allow selinux outbound connection from web server
- # command: setsebool -P httpd_can_network_connect 1
-
-- 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
-
-- name: install epel release
- yum: name=epel-release state=present
- become: yes
-
-# depend on epel release
-- name: install mcrypt
- yum: name=php-mcrypt state=latest update_cache=yes
- become: yes
+- include: install_deps_{{ ansible_os_family }}.yml
# - name: Check previous deployments
# stat: path="{{ doc_root_dir }}" get_md5=no get_checksum=no