Commit ff56893a authored by Alexandre Chapellon's avatar Alexandre Chapellon

while at it fixe some ubuntu quircks & add support for ubuntu 16.04

parent 3439a4b5
repo_list:
- ppa:openjdk-r/ppa
warn_old: True
common_pkg:
- python3-lxml
- bzip2
- unzip
......@@ -2,12 +2,11 @@
- name: Add MongoDB repo key
apt_key:
keyserver: hkp://keyserver.ubuntu.com:80
id: 0C49F3730359A14518585931BC711F9BA15703C6
id: "{{ item }}"
with_items:
- 0C49F3730359A14518585931BC711F9BA15703C6
- EA312927
- 7F0CEB10
with_items:
- 0C49F3730359A14518585931BC711F9BA15703C6
- EA312927
- 7F0CEB10
when: ansible_pkg_mgr == 'apt'
- name: Set up MongoDB reposirtory (RedHat-like)
......@@ -31,6 +30,6 @@
- name: Install MongoDB (Debian-like)
apt:
name: "mongodb-org-{{ mongodb_version }}"
name: "mongodb-org={{ mongodb_version }}"
when: ansible_pkg_mgr == 'apt'
java_pkg:
- "openjdk-{{ java_version }}-jre-headless"
- "openjdk-{{ java_version }}-jdk"
tomcat_pkg:
- tomcat7
servlet_pkg: "{{ java_pkg }} + {{ tomcat_pkg }}"
tomcat_cfg_server: /etc/tomcat7/server.xml
tomcat_cfg_daemon: /etc/default/tomcat7
tomcat_user: tomcat7
tomcat_group: tomcat7
catalina_home: /var/lib/tomcat7
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