Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DEF8B200C40 for ; Wed, 8 Mar 2017 16:15:16 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DDCF1160B86; Wed, 8 Mar 2017 15:15:16 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7E202160B88 for ; Wed, 8 Mar 2017 16:15:15 +0100 (CET) Received: (qmail 16705 invoked by uid 500); 8 Mar 2017 15:15:14 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 15831 invoked by uid 99); 8 Mar 2017 15:15:13 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Mar 2017 15:15:13 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 88D6EDFB7D; Wed, 8 Mar 2017 15:15:13 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: machristie@apache.org To: commits@airavata.apache.org Date: Wed, 08 Mar 2017 15:15:21 -0000 Message-Id: <4c6b1649ae724eceaeb6e16a39bdeb6f@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [09/27] airavata git commit: moved OS-specific commands to separate includes archived-at: Wed, 08 Mar 2017 15:15:17 -0000 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 Authored: Fri Jan 27 11:35:47 2017 -0500 Committer: jecoulte 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