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

28 lines
617 B
YAML
Raw Normal View History

---
driver:
name: docker
lint: |
set -e
yamllint .
2020-09-01 16:34:54 +02:00
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