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 96274200C40 for ; Wed, 8 Mar 2017 16:15:15 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 94CD3160B96; Wed, 8 Mar 2017 15:15:15 +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 D9642160B89 for ; Wed, 8 Mar 2017 16:15:14 +0100 (CET) Received: (qmail 16111 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 15713 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 7E5C2E0A38; 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:18 -0000 Message-Id: <5ee2af2d9623481bb6b6cd944912990d@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [06/27] airavata git commit: RedHat specific depenedency installation include archived-at: Wed, 08 Mar 2017 15:15:15 -0000 RedHat specific depenedency installation include contains tasks specific to RedHat installation of PGA, notably calling yum vs apt, and specific package names. Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/899781d1 Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/899781d1 Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/899781d1 Branch: refs/heads/develop Commit: 899781d16740f256ad9bbf285288f466f5875be8 Parents: 025faa6 Author: jecoulte Authored: Fri Jan 27 10:10:08 2017 -0500 Committer: jecoulte Committed: Fri Jan 27 10:10:08 2017 -0500 ---------------------------------------------------------------------- .../roles/pga/tasks/install_deps_RedHat.yml | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/899781d1/dev-tools/ansible/roles/pga/tasks/install_deps_RedHat.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/roles/pga/tasks/install_deps_RedHat.yml b/dev-tools/ansible/roles/pga/tasks/install_deps_RedHat.yml new file mode 100644 index 0000000..e2b5ea3 --- /dev/null +++ b/dev-tools/ansible/roles/pga/tasks/install_deps_RedHat.yml @@ -0,0 +1,33 @@ +--- + +- 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 + +#OS_dep +# depend on epel release +- name: install mcrypt + yum: name=php-mcrypt state=latest update_cache=yes + become: yes +