Add Ubuntu 16.04
This commit is contained in:
parent
d2e59d8ff1
commit
9c9463f097
12
.travis.yml
12
.travis.yml
|
@ -8,6 +8,18 @@ python:
|
|||
- "2.7"
|
||||
- "3.6"
|
||||
env:
|
||||
- >
|
||||
DISTRIBUTION=ubuntu
|
||||
DIST_VERSION=16.04
|
||||
MONGODB_VERSION=3.6
|
||||
- >
|
||||
DISTRIBUTION=ubuntu
|
||||
DIST_VERSION=16.04
|
||||
MONGODB_VERSION=3.4
|
||||
- >
|
||||
DISTRIBUTION=ubuntu
|
||||
DIST_VERSION=16.04
|
||||
MONGODB_VERSION=3.2
|
||||
- >
|
||||
DISTRIBUTION=ubuntu-upstart
|
||||
DIST_VERSION=14.04
|
||||
|
|
|
@ -17,10 +17,17 @@
|
|||
- mongo2
|
||||
- mongo3
|
||||
|
||||
- hosts: "{{ target }}"
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Install Python 2.x
|
||||
raw: test -e /usr/bin/python || (apt update && apt install -y python-minimal) || true
|
||||
register: test
|
||||
changed_when: test.stdout
|
||||
|
||||
- hosts: "{{ target }}"
|
||||
become: no
|
||||
gather_facts: yes
|
||||
|
||||
roles:
|
||||
- role: greendayonfire.mongodb
|
||||
when: "'mongo_master' in group_names"
|
||||
|
|
Loading…
Reference in New Issue