mirror of
https://github.com/status-im/ansible-role-mongodb.git
synced 2025-02-17 15:36:23 +00:00
Use builded 16.04 image
This commit is contained in:
parent
0e7dbda68d
commit
f7cc7e901b
@ -6,19 +6,18 @@ sudo: required
|
|||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
- "3.6"
|
|
||||||
env:
|
env:
|
||||||
- >
|
- >
|
||||||
DISTRIBUTION=ubuntu
|
DISTRIBUTION=ubuntu
|
||||||
DIST_VERSION=16.04
|
DIST_VERSION=16_04-builded
|
||||||
MONGODB_VERSION=3.6
|
MONGODB_VERSION=3.6
|
||||||
- >
|
- >
|
||||||
DISTRIBUTION=ubuntu
|
DISTRIBUTION=ubuntu
|
||||||
DIST_VERSION=16.04
|
DIST_VERSION=16_04-builded
|
||||||
MONGODB_VERSION=3.4
|
MONGODB_VERSION=3.4
|
||||||
- >
|
- >
|
||||||
DISTRIBUTION=ubuntu
|
DISTRIBUTION=ubuntu
|
||||||
DIST_VERSION=16.04
|
DIST_VERSION=16_04-builded
|
||||||
MONGODB_VERSION=3.2
|
MONGODB_VERSION=3.2
|
||||||
- >
|
- >
|
||||||
DISTRIBUTION=ubuntu-upstart
|
DISTRIBUTION=ubuntu-upstart
|
||||||
|
7
tests/Dockerfile.ubuntu_16_04-builded
Normal file
7
tests/Dockerfile.ubuntu_16_04-builded
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
FROM ubuntu:16.04
|
||||||
|
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
RUN apt update && \
|
||||||
|
apt install --yes python-minimal && \
|
||||||
|
rm /lib/systemd/system/getty@.service
|
@ -17,14 +17,6 @@
|
|||||||
- 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user