ansible-nas/tests/molecule/base.yml

43 lines
926 B
YAML
Raw Normal View History

2022-09-09 21:23:16 +00:00
---
dependency:
name: galaxy
driver:
name: docker
platforms:
- name: instance
image: geerlingguy/docker-ubuntu2204-ansible:latest
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /var/run/docker.sock:/var/run/docker.sock
privileged: true
provisioner:
name: ansible
2022-09-10 11:32:33 +00:00
# config_options:
# defaults:
# stdout_callback: dense
2022-09-09 21:23:16 +00:00
inventory:
group_vars:
all:
docker_home: /ansible-nas
ansible_nas_timezone: Europe/London
ansible_nas_domain: ansible-nas.io
playbooks:
prepare: ../../../../tests/molecule/resources/playbooks/prepare.yml
converge: ../../../../tests/molecule/resources/playbooks/converge.yml
verifier:
name: ansible
scenario:
test_sequence:
- cleanup
- destroy
- syntax
- create
- prepare
- converge
- idempotence
- verify
- side_effect
- verify verify_stopped.yml
- cleanup
- destroy