2019-11-26 22:12:09 +01:00
|
|
|
---
|
|
|
|
driver:
|
|
|
|
name: docker
|
2020-03-25 18:43:32 +01:00
|
|
|
lint: |
|
|
|
|
set -e
|
|
|
|
yamllint .
|
|
|
|
ansible-lint
|
|
|
|
flake8
|
2019-11-26 22:12:09 +01:00
|
|
|
platforms:
|
|
|
|
- name: centos-6
|
|
|
|
image: centos:6
|
|
|
|
dockerfile: ../common/Dockerfile.j2
|
|
|
|
- name: centos-7
|
|
|
|
image: centos:7
|
|
|
|
dockerfile: ../common/Dockerfile.j2
|
2020-03-25 18:43:32 +01:00
|
|
|
privileged: true
|
2019-11-26 22:12:09 +01:00
|
|
|
volumes:
|
|
|
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
|
|
command: "/usr/sbin/init"
|
|
|
|
- name: centos-8
|
|
|
|
image: centos:8
|
|
|
|
dockerfile: ../common/Dockerfile.j2
|
2020-03-25 18:43:32 +01:00
|
|
|
privileged: true
|
2019-11-26 22:12:09 +01:00
|
|
|
volumes:
|
|
|
|
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
|
|
|
command: "/usr/sbin/init"
|
|
|
|
provisioner:
|
|
|
|
name: ansible
|
|
|
|
playbooks:
|
|
|
|
converge: ../common/playbook_module.yml
|
|
|
|
verifier:
|
|
|
|
name: testinfra
|
|
|
|
directory: ../common/test_module
|