ansible-acme-sh/molecule/default/molecule.yml
2020-04-07 04:18:17 -04:00

37 lines
704 B
YAML

---
dependency:
name: galaxy
driver:
name: docker
lint: |
yamllint --config-file molecule/default/yaml-lint.yml .
ansible-lint
flake8
platforms:
- name: instance
image: "geerlingguy/docker-${MOLECULE_DISTRO:-debian10}-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
pre_build_image: true
provisioner:
name: ansible
lint: ansible-lint
playbooks:
converge: ${MOLECULE_PLAYBOOK:-playbook.yml}
scenario:
name: default
test_sequence:
- lint
- destroy
- syntax
- create
- converge
- idempotence
- verify
- destroy
verifier:
name: testinfra
lint: flake8