ansible-role-haproxy/molecule/default/molecule.yml

31 lines
632 B
YAML

---
driver:
name: docker
platforms:
- name: debian10
image: nishiki/debian10:molecule
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
command: /bin/systemd
capabilities:
- SYS_ADMIN
- name: debian11
image: nishiki/debian11:molecule
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
command: /bin/systemd
capabilities:
- SYS_ADMIN
provisioner:
inventory:
host_vars:
debian10:
haproxy_apt_release: '{{ ansible_distribution_release }}-backports'
lint: |
set -e
yamllint .
ansible-lint .
verifier:
name: testinfra