blob: c9f5f8d4a0c7bb170f5ddf266f63407cf14c87e2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
---
role_name_check: 1
dependency:
name: galaxy
options:
ignore-errors: true
driver:
name: docker
platforms:
- name: instance
image: ${MOLECULE_DISTRO:-archlinux}
dockerfile: Dockerfile.${MOLECULE_DISTRO:-archlinux}.j2
platform: "${MOLECULE_PLATFORM:-linux/amd64}"
pre_build_image: false
privileged: true
command: "${MOLECULE_COMMAND:-/lib/systemd/systemd}"
tmpfs:
- "/tmp"
- "/run"
- "/opt"
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
- "/dev:/dev:rw"
cgroupns_mode: host
provisioner:
name: ansible
inventory:
links:
host_vars: "../../host_vars/"
env:
MOLECULE_DISTRO: "${MOLECULE_DISTRO:-archlinux}"
ANSIBLE_ROLES_PATH: "../../roles"
config_options:
defaults:
fact_caching: jsonfile
fact_caching_connection: /tmp/facts_cache
fact_caching_timeout: 600
callback_result_format: yaml
interpreter_python: /usr/bin/python3
ssh_connection:
pipelining: true
playbooks:
converge: converge.yml
verifier:
name: ansible
# disable idempotency test for this playbook as it is not idempotent in nature
scenario:
test_sequence:
- destroy
- syntax
- create
- prepare
- converge
- verify
- destroy
|