mirror of
https://github.com/mrlesmithjr/ansible-manage-lvm.git
synced 2025-12-14 05:45:22 +03:00
remove deprecated machines
This commit is contained in:
@@ -18,24 +18,15 @@ env:
|
||||
- distribution: fedora
|
||||
init: /usr/lib/systemd/systemd
|
||||
version: 25
|
||||
- distribution: fedora
|
||||
init: /usr/lib/systemd/systemd
|
||||
version: 24
|
||||
- distribution: ubuntu
|
||||
init: /lib/systemd/systemd
|
||||
version: bionic
|
||||
- distribution: ubuntu
|
||||
init: /lib/systemd/systemd
|
||||
version: xenial
|
||||
- distribution: ubuntu
|
||||
init: /sbin/init
|
||||
version: trusty
|
||||
- distribution: debian
|
||||
init: /lib/systemd/systemd
|
||||
version: stretch
|
||||
- distribution: debian
|
||||
init: /lib/systemd/systemd
|
||||
version: jessie
|
||||
|
||||
before_install:
|
||||
- 'sudo pip install yamllint'
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
FROM debian:jessie
|
||||
ENV container=docker
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends build-essential libffi-dev \
|
||||
libssl-dev python-dev python-minimal python-pip python-setuptools \
|
||||
python-virtualenv && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip install --upgrade pip setuptools && \
|
||||
pip install enum34 ipaddress wheel && \
|
||||
pip install ansible ansible-lint
|
||||
|
||||
COPY .ansible-lint /
|
||||
@@ -1,26 +0,0 @@
|
||||
FROM fedora:24
|
||||
ENV container=docker
|
||||
|
||||
RUN dnf -y install gmp-devel libffi-devel openssl-devel python-crypto \
|
||||
python-devel python-dnf python-pip python-setuptools python-virtualenv \
|
||||
redhat-rpm-config systemd && \
|
||||
dnf -y group install "C Development Tools and Libraries"
|
||||
|
||||
# Install systemd -- See https://hub.docker.com/_/centos/
|
||||
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); \
|
||||
rm -f /lib/systemd/system/multi-user.target.wants/*;\
|
||||
rm -f /etc/systemd/system/*.wants/*;\
|
||||
rm -f /lib/systemd/system/local-fs.target.wants/*; \
|
||||
rm -f /lib/systemd/system/sockets.target.wants/*udev*; \
|
||||
rm -f /lib/systemd/system/sockets.target.wants/*initctl*; \
|
||||
rm -f /lib/systemd/system/basic.target.wants/*;\
|
||||
rm -f /lib/systemd/system/anaconda.target.wants/*;
|
||||
|
||||
RUN pip install enum34 ipaddress wheel && \
|
||||
pip install ansible ansible-lint
|
||||
|
||||
COPY .ansible-lint /
|
||||
|
||||
VOLUME ["/sys/fs/cgroup"]
|
||||
|
||||
CMD ["/usr/sbin/init"]
|
||||
@@ -1,14 +0,0 @@
|
||||
FROM ubuntu:trusty
|
||||
ENV container=docker
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends build-essential libffi-dev \
|
||||
libssl-dev python-dev python-minimal python-pip python-setuptools \
|
||||
python-virtualenv && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip install --upgrade pip setuptools && \
|
||||
pip install enum34 ipaddress wheel && \
|
||||
pip install ansible ansible-lint
|
||||
|
||||
COPY .ansible-lint /
|
||||
Reference in New Issue
Block a user