diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-08-11 00:33:29 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-08-11 00:33:29 +0200 |
| commit | aeaa724705363ca104ab4770d844e396795af3ea (patch) | |
| tree | 0a3def24d5abc8dddf279477f8549971f50c90ad /molecule/default/molecule.yml | |
| parent | bc12fd286b5916518ea5ca756b9ea6eac99c63ef (diff) | |
Add partition role testing
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 |
