ansible-role-nginx/molecule/plus_alpine/molecule.yml

36 lines
865 B
YAML
Raw Normal View History

2020-09-09 16:10:42 +02:00
---
driver:
name: docker
lint: |
set -e
yamllint .
ansible-lint --force-color
platforms:
- name: alpine-3.10
image: python:alpine3.10
2020-09-09 16:10:42 +02:00
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
2020-09-09 16:10:42 +02:00
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
2020-09-09 16:10:42 +02:00
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
2020-09-09 16:10:42 +02:00
converge: ../common/playbooks/plus_converge.yml
verify: ../common/playbooks/plus_verify.yml