public-health-ch/ansible/roles/nginxinc.nginx/molecule/default/molecule.yml

49 lines
1.2 KiB
YAML
Raw Normal View History

2020-05-15 22:14:14 +00:00
---
driver:
name: docker
lint: |
set -e
yamllint .
2021-02-20 14:00:27 +00:00
ansible-lint --force-color
2020-05-15 22:14:14 +00:00
platforms:
- name: debian-stretch
image: debian:stretch-slim
dockerfile: ../common/Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: debian-buster
image: debian:buster-slim
dockerfile: ../common/Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: ubuntu-xenial
image: ubuntu:xenial
dockerfile: ../common/Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
- name: ubuntu-bionic
image: ubuntu:bionic
dockerfile: ../common/Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
2021-02-20 14:00:27 +00:00
- name: ubuntu-focal
image: ubuntu:focal
dockerfile: ../common/Dockerfile.j2
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
command: "/sbin/init"
2020-05-15 22:14:14 +00:00
provisioner:
name: ansible
playbooks:
2021-02-20 14:00:27 +00:00
converge: ../common/playbooks/default_converge.yml
verify: ../common/playbooks/default_verify.yml