mg
c2b3e44bb4
vars richtig einsortiert gitea version gitea wieder eingebaut Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#1 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
43 lines
638 B
YAML
43 lines
638 B
YAML
---
|
|
dependency:
|
|
name: galaxy
|
|
|
|
driver:
|
|
name: docker
|
|
|
|
lint: |
|
|
set -e
|
|
yamllint .
|
|
ansible-lint
|
|
|
|
platforms:
|
|
- name: instance
|
|
image: geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu1804}-ansible:latest
|
|
pre_build_image: true
|
|
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
|
volumes:
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
privileged: true
|
|
|
|
|
|
provisioner:
|
|
name: ansible
|
|
playbooks:
|
|
prepare: prepare.yml
|
|
converge: converge.yml
|
|
|
|
scenario:
|
|
test_sequence:
|
|
- lint
|
|
- destroy
|
|
- syntax
|
|
- create
|
|
- prepare
|
|
- converge
|
|
- verify
|
|
- destroy
|
|
|
|
verifier:
|
|
name: testinfra
|
|
lint:
|
|
name: flake8
|