Commit f3fcdb12 by Feanil Patel Committed by GitHub

Merge pull request #3529 from edx/feanil/insights-16.04

Conditionally choose insights debian packages for precise and xenial.
parents 72e19d4d ca372078
FROM edxops/precise-common:latest
FROM edxops/xenial-common:latest
MAINTAINER edxops
ADD . /edx/app/edx_ansible/edx_ansible
......
......@@ -201,8 +201,9 @@ insights_debian_pkgs:
- 'libmysqlclient-dev'
- 'build-essential'
- gettext
- openjdk-7-jdk
insights_redhat_pkgs:
- 'community-mysql-devel'
- openjdk-7-jdk
insights_release_specific_debian_pkgs:
precise:
- openjdk-7-jdk
xenial:
- openjdk-8-jdk
......@@ -20,6 +20,5 @@ dependencies:
edx_service_user: "{{ insights_user }}"
edx_service_home: "{{ insights_home }}"
edx_service_packages:
debian: "{{ insights_debian_pkgs }}"
redhat: "{{ insights_redhat_pkgs }}"
debian: "{{ insights_debian_pkgs + insights_release_specific_debian_pkgs[ansible_distribution_release] }}"
redhat: []
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment