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

30 lines
698 B
YAML
Raw Permalink Normal View History

2022-09-15 13:29:02 +02:00
---
2022-09-16 16:07:01 +02:00
role_name_check: 1
2022-09-15 13:29:02 +02:00
dependency:
name: galaxy
2022-09-16 16:07:01 +02:00
options:
ignore-certs: true
ignore-errors: true
2022-09-16 22:34:37 +02:00
role-file: molecule/requirements.yml
requirements-file: molecule/requirements.yml
2022-09-15 13:29:02 +02:00
driver:
2022-09-16 16:07:01 +02:00
name: docker
2022-09-15 13:29:02 +02:00
platforms:
2022-09-22 11:22:57 +02:00
- name: instance-authentik
2022-09-16 16:07:01 +02:00
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos8}-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
2022-09-16 22:34:37 +02:00
- /var/run/docker.sock:/tmp/docker_mounted.sock
2022-09-16 16:07:01 +02:00
privileged: true
pre_build_image: true
2022-09-15 13:29:02 +02:00
provisioner:
name: ansible
2022-09-16 16:07:01 +02:00
playbooks:
converge: ${MOLECULE_PLAYBOOK:-converge.yml}
2022-09-15 13:29:02 +02:00
verifier:
name: ansible
2022-09-16 16:07:01 +02:00
lint: |
set -e
yamllint .
ansible-lint .