mirror of
https://github.com/status-im/ansible-role-mongodb.git
synced 2025-02-17 15:36:23 +00:00
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"
|
- "2.7"
|
||||||
- "3.6"
|
- "3.6"
|
||||||
env:
|
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
|
DISTRIBUTION=ubuntu-upstart
|
||||||
DIST_VERSION=14.04
|
DIST_VERSION=14.04
|
||||||
|
@ -17,10 +17,17 @@
|
|||||||
- mongo2
|
- mongo2
|
||||||
- mongo3
|
- 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 }}"
|
- hosts: "{{ target }}"
|
||||||
become: no
|
become: no
|
||||||
gather_facts: yes
|
gather_facts: yes
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: greendayonfire.mongodb
|
- role: greendayonfire.mongodb
|
||||||
when: "'mongo_master' in group_names"
|
when: "'mongo_master' in group_names"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user