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/ansible-testing-0.17 Commit: 899781d16740f256ad9bbf285288f466f5875be8 Parents: 025faa6 Author: jecoulte <[email protected]> Authored: Fri Jan 27 10:10:08 2017 -0500 Committer: jecoulte <[email protected]> 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 +
