diff options
Diffstat (limited to 'molecule/default/molecule.yml')
| -rw-r--r-- | molecule/default/molecule.yml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml new file mode 100644 index 0000000..a5b30f5 --- /dev/null +++ b/molecule/default/molecule.yml @@ -0,0 +1,55 @@ +--- +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 + pre_build_image: false + privileged: true + command: ${MOLECULE_COMMAND:-""} + 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 |
