Bump ansible-lint from 4.3.7 to 5.0.4 in /.github/workflows/requirements (#377)
This commit is contained in:
parent
a982bce14e
commit
023cd3a38e
8
.github/workflows/molecule.yml
vendored
8
.github/workflows/molecule.yml
vendored
@ -19,17 +19,9 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
scenario:
|
scenario:
|
||||||
- default
|
- default
|
||||||
- default_alpine
|
|
||||||
- default_centos
|
|
||||||
- module
|
- module
|
||||||
- module_alpine
|
|
||||||
- module_centos
|
|
||||||
- plus
|
- plus
|
||||||
- plus_alpine
|
|
||||||
- plus_centos
|
|
||||||
- source
|
- source
|
||||||
- source_alpine
|
|
||||||
- source_centos
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the codebase
|
- name: Check out the codebase
|
||||||
if: "!(contains(matrix.scenario, 'plus') && github.event.pull_request.head.repo.full_name != github.repository)"
|
if: "!(contains(matrix.scenario, 'plus') && github.event.pull_request.head.repo.full_name != github.repository)"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
ansible-base==2.10.7
|
ansible-base==2.10.7
|
||||||
ansible-lint==4.3.7
|
ansible-lint==5.0.4
|
||||||
yamllint==1.26.0
|
yamllint==1.26.0
|
||||||
molecule[docker]==3.2.4
|
molecule[docker]==3.2.4
|
||||||
docker==4.4.4
|
docker==4.4.4
|
||||||
|
@ -15,7 +15,8 @@ ENHANCEMENTS:
|
|||||||
* Specify GitHub actions Ubuntu release.
|
* Specify GitHub actions Ubuntu release.
|
||||||
* Minor GitHub template tweaks, including the creation of a SECURITY doc.
|
* Minor GitHub template tweaks, including the creation of a SECURITY doc.
|
||||||
* Update list of supported platforms.
|
* Update list of supported platforms.
|
||||||
* Update Ansible base to `2.10.7`, Molecule to `3.2.4`, yamllint to `1.26.0` and Docker Python SDK to `4.4.4`.
|
* Update Ansible base to `2.10.7`, Ansible Lint to `5.0.4`, Molecule to `3.2.4`, yamllint to `1.26.0` and Docker Python SDK to `4.4.4`.
|
||||||
|
* Consolidate Molecule testing scenarios to address changes introduced in Ansible Lint `5.*`.
|
||||||
* Override of systemd `Restart` value by using proper `nginx_service_restart` variable.
|
* Override of systemd `Restart` value by using proper `nginx_service_restart` variable.
|
||||||
|
|
||||||
BUG FIXES:
|
BUG FIXES:
|
||||||
|
@ -3,6 +3,7 @@ galaxy_info:
|
|||||||
author: Alessandro Fael Garcia
|
author: Alessandro Fael Garcia
|
||||||
description: Official Ansible role for NGINX
|
description: Official Ansible role for NGINX
|
||||||
role_name: nginx
|
role_name: nginx
|
||||||
|
namespace: nginxinc # Ansible Lint requirement
|
||||||
company: F5 Networks, Inc.
|
company: F5 Networks, Inc.
|
||||||
|
|
||||||
license: Apache License, Version 2.0
|
license: Apache License, Version 2.0
|
||||||
|
@ -6,6 +6,41 @@ lint: |
|
|||||||
yamllint .
|
yamllint .
|
||||||
ansible-lint --force-color
|
ansible-lint --force-color
|
||||||
platforms:
|
platforms:
|
||||||
|
- name: alpine-3.10
|
||||||
|
image: alpine:3.10
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/sbin/init"
|
||||||
|
- name: alpine-3.11
|
||||||
|
image: alpine:3.11
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/sbin/init"
|
||||||
|
- name: alpine-3.12
|
||||||
|
image: alpine:3.12
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/sbin/init"
|
||||||
|
- name: centos-7
|
||||||
|
image: centos:7
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/usr/sbin/init"
|
||||||
|
- name: centos-8
|
||||||
|
image: centos:8
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/usr/sbin/init"
|
||||||
- name: debian-stretch
|
- name: debian-stretch
|
||||||
image: debian:stretch-slim
|
image: debian:stretch-slim
|
||||||
dockerfile: ../common/Dockerfile.j2
|
dockerfile: ../common/Dockerfile.j2
|
||||||
@ -44,5 +79,5 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
playbooks:
|
playbooks:
|
||||||
converge: ../common/playbooks/default_converge.yml
|
converge: converge.yml
|
||||||
verify: ../common/playbooks/default_verify.yml
|
verify: verify.yml
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
---
|
|
||||||
driver:
|
|
||||||
name: docker
|
|
||||||
lint: |
|
|
||||||
set -e
|
|
||||||
yamllint .
|
|
||||||
ansible-lint --force-color
|
|
||||||
platforms:
|
|
||||||
- name: alpine-3.10
|
|
||||||
image: alpine:3.10
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/sbin/init"
|
|
||||||
- name: alpine-3.11
|
|
||||||
image: alpine:3.11
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/sbin/init"
|
|
||||||
- name: alpine-3.12
|
|
||||||
image: alpine:3.12
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/sbin/init"
|
|
||||||
provisioner:
|
|
||||||
name: ansible
|
|
||||||
playbooks:
|
|
||||||
converge: ../common/playbooks/default_converge.yml
|
|
||||||
verify: ../common/playbooks/default_verify.yml
|
|
@ -1,27 +0,0 @@
|
|||||||
---
|
|
||||||
driver:
|
|
||||||
name: docker
|
|
||||||
lint: |
|
|
||||||
set -e
|
|
||||||
yamllint .
|
|
||||||
ansible-lint --force-color
|
|
||||||
platforms:
|
|
||||||
- name: centos-7
|
|
||||||
image: centos:7
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/usr/sbin/init"
|
|
||||||
- name: centos-8
|
|
||||||
image: centos:8
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/usr/sbin/init"
|
|
||||||
provisioner:
|
|
||||||
name: ansible
|
|
||||||
playbooks:
|
|
||||||
converge: ../common/playbooks/default_converge.yml
|
|
||||||
verify: ../common/playbooks/default_verify.yml
|
|
@ -6,6 +6,41 @@ lint: |
|
|||||||
yamllint .
|
yamllint .
|
||||||
ansible-lint --force-color
|
ansible-lint --force-color
|
||||||
platforms:
|
platforms:
|
||||||
|
- name: alpine-3.10
|
||||||
|
image: alpine:3.10
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/sbin/init"
|
||||||
|
- name: alpine-3.11
|
||||||
|
image: alpine:3.11
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/sbin/init"
|
||||||
|
- name: alpine-3.12
|
||||||
|
image: alpine:3.12
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/sbin/init"
|
||||||
|
- name: centos-7
|
||||||
|
image: centos:7
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/usr/sbin/init"
|
||||||
|
- name: centos-8
|
||||||
|
image: centos:8
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/usr/sbin/init"
|
||||||
- name: debian-stretch
|
- name: debian-stretch
|
||||||
image: debian:stretch-slim
|
image: debian:stretch-slim
|
||||||
dockerfile: ../common/Dockerfile.j2
|
dockerfile: ../common/Dockerfile.j2
|
||||||
@ -44,5 +79,5 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
playbooks:
|
playbooks:
|
||||||
converge: ../common/playbooks/module_converge.yml
|
converge: converge.yml
|
||||||
verify: ../common/playbooks/module_verify.yml
|
verify: verify.yml
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
---
|
|
||||||
driver:
|
|
||||||
name: docker
|
|
||||||
lint: |
|
|
||||||
set -e
|
|
||||||
yamllint .
|
|
||||||
ansible-lint --force-color
|
|
||||||
platforms:
|
|
||||||
- name: alpine-3.10
|
|
||||||
image: alpine:3.10
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/sbin/init"
|
|
||||||
- name: alpine-3.11
|
|
||||||
image: alpine:3.11
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/sbin/init"
|
|
||||||
- name: alpine-3.12
|
|
||||||
image: alpine:3.12
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/sbin/init"
|
|
||||||
provisioner:
|
|
||||||
name: ansible
|
|
||||||
playbooks:
|
|
||||||
converge: ../common/playbooks/module_converge.yml
|
|
||||||
verify: ../common/playbooks/module_verify.yml
|
|
@ -1,27 +0,0 @@
|
|||||||
---
|
|
||||||
driver:
|
|
||||||
name: docker
|
|
||||||
lint: |
|
|
||||||
set -e
|
|
||||||
yamllint .
|
|
||||||
ansible-lint --force-color
|
|
||||||
platforms:
|
|
||||||
- name: centos-7
|
|
||||||
image: centos:7
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/usr/sbin/init"
|
|
||||||
- name: centos-8
|
|
||||||
image: centos:8
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/usr/sbin/init"
|
|
||||||
provisioner:
|
|
||||||
name: ansible
|
|
||||||
playbooks:
|
|
||||||
converge: ../common/playbooks/module_converge.yml
|
|
||||||
verify: ../common/playbooks/module_verify.yml
|
|
@ -6,6 +6,41 @@ lint: |
|
|||||||
yamllint .
|
yamllint .
|
||||||
ansible-lint --force-color
|
ansible-lint --force-color
|
||||||
platforms:
|
platforms:
|
||||||
|
- name: alpine-3.10
|
||||||
|
image: python:alpine3.10
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/sbin/init"
|
||||||
|
- name: alpine-3.11
|
||||||
|
image: python:alpine3.11
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/sbin/init"
|
||||||
|
- name: alpine-3.12
|
||||||
|
image: alpine:3.12
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/sbin/init"
|
||||||
|
- name: centos-7
|
||||||
|
image: centos:7
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/usr/sbin/init"
|
||||||
|
- name: centos-8
|
||||||
|
image: centos:8
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/usr/sbin/init"
|
||||||
- name: debian-stretch
|
- name: debian-stretch
|
||||||
image: debian:stretch-slim
|
image: debian:stretch-slim
|
||||||
dockerfile: ../common/Dockerfile.j2
|
dockerfile: ../common/Dockerfile.j2
|
||||||
@ -44,6 +79,6 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
playbooks:
|
playbooks:
|
||||||
prepare: ../common/playbooks/plus_prepare.yml
|
prepare: prepare.yml
|
||||||
converge: ../common/playbooks/plus_converge.yml
|
converge: converge.yml
|
||||||
verify: ../common/playbooks/plus_verify.yml
|
verify: verify.yml
|
||||||
|
@ -6,13 +6,13 @@
|
|||||||
- name: Create ephemeral license certificate file from b64 decoded env var
|
- name: Create ephemeral license certificate file from b64 decoded env var
|
||||||
copy:
|
copy:
|
||||||
content: "{{ lookup('env','NGINX_CRT') | b64decode }}"
|
content: "{{ lookup('env','NGINX_CRT') | b64decode }}"
|
||||||
dest: ../../../files/license/nginx-repo.crt
|
dest: ../../files/license/nginx-repo.crt
|
||||||
force: no
|
force: no
|
||||||
mode: 0444
|
mode: 0444
|
||||||
|
|
||||||
- name: Create ephemeral license key file from b64 decoded env var
|
- name: Create ephemeral license key file from b64 decoded env var
|
||||||
copy:
|
copy:
|
||||||
content: "{{ lookup('env','NGINX_KEY') | b64decode }}"
|
content: "{{ lookup('env','NGINX_KEY') | b64decode }}"
|
||||||
dest: ../../../files/license/nginx-repo.key
|
dest: ../../files/license/nginx-repo.key
|
||||||
force: no
|
force: no
|
||||||
mode: 0444
|
mode: 0444
|
@ -1,35 +0,0 @@
|
|||||||
---
|
|
||||||
driver:
|
|
||||||
name: docker
|
|
||||||
lint: |
|
|
||||||
set -e
|
|
||||||
yamllint .
|
|
||||||
ansible-lint --force-color
|
|
||||||
platforms:
|
|
||||||
- name: alpine-3.10
|
|
||||||
image: python:alpine3.10
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/sbin/init"
|
|
||||||
- name: alpine-3.11
|
|
||||||
image: python:alpine3.11
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/sbin/init"
|
|
||||||
- name: alpine-3.12
|
|
||||||
image: alpine:3.12
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/sbin/init"
|
|
||||||
provisioner:
|
|
||||||
name: ansible
|
|
||||||
playbooks:
|
|
||||||
prepare: ../common/playbooks/plus_prepare.yml
|
|
||||||
converge: ../common/playbooks/plus_converge.yml
|
|
||||||
verify: ../common/playbooks/plus_verify.yml
|
|
@ -1,28 +0,0 @@
|
|||||||
---
|
|
||||||
driver:
|
|
||||||
name: docker
|
|
||||||
lint: |
|
|
||||||
set -e
|
|
||||||
yamllint .
|
|
||||||
ansible-lint --force-color
|
|
||||||
platforms:
|
|
||||||
- name: centos-7
|
|
||||||
image: centos:7
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/usr/sbin/init"
|
|
||||||
- name: centos-8
|
|
||||||
image: centos:8
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/usr/sbin/init"
|
|
||||||
provisioner:
|
|
||||||
name: ansible
|
|
||||||
playbooks:
|
|
||||||
prepare: ../common/playbooks/plus_prepare.yml
|
|
||||||
converge: ../common/playbooks/plus_converge.yml
|
|
||||||
verify: ../common/playbooks/plus_verify.yml
|
|
@ -6,6 +6,41 @@ lint: |
|
|||||||
yamllint .
|
yamllint .
|
||||||
ansible-lint --force-color
|
ansible-lint --force-color
|
||||||
platforms:
|
platforms:
|
||||||
|
- name: alpine-3.10
|
||||||
|
image: alpine:3.10
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/sbin/init"
|
||||||
|
- name: alpine-3.11
|
||||||
|
image: alpine:3.11
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/sbin/init"
|
||||||
|
- name: alpine-3.12
|
||||||
|
image: alpine:3.12
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/sbin/init"
|
||||||
|
- name: centos-7
|
||||||
|
image: centos:7
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/usr/sbin/init"
|
||||||
|
- name: centos-8
|
||||||
|
image: centos:8
|
||||||
|
dockerfile: ../common/Dockerfile.j2
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||||
|
command: "/usr/sbin/init"
|
||||||
- name: debian-stretch
|
- name: debian-stretch
|
||||||
image: debian:stretch-slim
|
image: debian:stretch-slim
|
||||||
dockerfile: ../common/Dockerfile.j2
|
dockerfile: ../common/Dockerfile.j2
|
||||||
@ -44,5 +79,5 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
playbooks:
|
playbooks:
|
||||||
converge: ../common/playbooks/source_converge.yml
|
converge: converge.yml
|
||||||
verify: ../common/playbooks/source_verify.yml
|
verify: verify.yml
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
---
|
|
||||||
driver:
|
|
||||||
name: docker
|
|
||||||
lint: |
|
|
||||||
set -e
|
|
||||||
yamllint .
|
|
||||||
ansible-lint --force-color
|
|
||||||
platforms:
|
|
||||||
- name: alpine-3.10
|
|
||||||
image: alpine:3.10
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/sbin/init"
|
|
||||||
- name: alpine-3.11
|
|
||||||
image: alpine:3.11
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/sbin/init"
|
|
||||||
- name: alpine-3.12
|
|
||||||
image: alpine:3.12
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/sbin/init"
|
|
||||||
provisioner:
|
|
||||||
name: ansible
|
|
||||||
playbooks:
|
|
||||||
converge: ../common/playbooks/source_converge.yml
|
|
||||||
verify: ../common/playbooks/source_verify.yml
|
|
@ -1,27 +0,0 @@
|
|||||||
---
|
|
||||||
driver:
|
|
||||||
name: docker
|
|
||||||
lint: |
|
|
||||||
set -e
|
|
||||||
yamllint .
|
|
||||||
ansible-lint --force-color
|
|
||||||
platforms:
|
|
||||||
- name: centos-7
|
|
||||||
image: centos:7
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/usr/sbin/init"
|
|
||||||
- name: centos-8
|
|
||||||
image: centos:8
|
|
||||||
dockerfile: ../common/Dockerfile.j2
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
||||||
command: "/usr/sbin/init"
|
|
||||||
provisioner:
|
|
||||||
name: ansible
|
|
||||||
playbooks:
|
|
||||||
converge: ../common/playbooks/source_converge.yml
|
|
||||||
verify: ../common/playbooks/source_verify.yml
|
|
Loading…
Reference in New Issue
Block a user