ansible-nas/tests/molecule/base.yml

54 lines
1.5 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:
2023-04-11 22:30:30 +00:00
samba_shares_root: /tmp/ansible-nas/shares
2022-09-09 21:23:16 +00:00
ansible_nas_domain: ansible-nas.io
2022-09-10 18:38:00 +00:00
ansible_nas_timezone: Europe/London
2023-04-11 22:30:30 +00:00
audiobooks_root: /tmp/ansible-nas/shares/audiobooks
books_root: /tmp/ansible-nas/shares/books
code_root: /tmp/ansible-nas/shares/code
comics_root: /tmp/ansible-nas/shares/comics
docker_home: /tmp/ansible-nas/docker
documents_root: /tmp/ansible-nas/shares/documents
downloads_root: /tmp/ansible-nas/shares/downloads
movies_root: /tmp/ansible-nas/shares/movies
music_root: /tmp/ansible-nas/shares/music
photos_root: /tmp/ansible-nas/shares/photos
podcasts_root: /tmp/ansible-nas/shares/podcasts
torrents_root: /tmp/ansible-nas/shares/torrents
tv_root: /tmp/ansible-nas/shares/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