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

44 lines
638 B
YAML
Raw Permalink Normal View History

---
dependency:
name: galaxy
2020-04-17 02:22:34 -05:00
driver:
name: docker
2020-04-17 02:22:34 -05:00
lint: |
set -e
yamllint .
ansible-lint
platforms:
2020-04-17 02:22:34 -05:00
- name: instance
image: geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu1804}-ansible:latest
2020-04-17 02:22:34 -05:00
pre_build_image: true
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
provisioner:
name: ansible
2020-04-17 02:22:34 -05:00
playbooks:
prepare: prepare.yml
converge: converge.yml
scenario:
test_sequence:
- lint
- destroy
2020-04-17 02:22:34 -05:00
- syntax
- create
2020-04-17 02:22:34 -05:00
- prepare
- converge
2020-04-17 02:22:34 -05:00
- verify
- destroy
verifier:
name: testinfra
lint:
name: flake8