ansible-nas/tests/molecule/base.yml

53 lines
1.2 KiB
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
pre_build_image: true
2022-09-09 21:23:16 +00:00
provisioner:
name: ansible
inventory:
group_vars:
all:
ansible_nas_domain: ansible-nas.io
2022-09-10 18:38:00 +00:00
ansible_nas_timezone: Europe/London
audiobooks_root: /audiobooks
books_root: /books
code_root: /code
comics_root: /comics
docker_home: /ansible-nas
documents_root: /documents
downloads_root: /downloads
movies_root: /movies
music_root: /music
photos_root: /photos
podcasts_root: /podcasts
torrents_root: /torrents
tv_root: /tv
2022-09-09 21:23:16 +00:00
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