55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
---
|
|
dependency:
|
|
name: "galaxy"
|
|
driver:
|
|
name: "podman"
|
|
platforms:
|
|
- name: "instance"
|
|
image: "${MOLECULE_IMAGE:-ghcr.io/hifis-net/ubuntu-systemd:22.04}"
|
|
pre_build_image: true
|
|
privileged: true
|
|
override_command: false
|
|
systemd: true
|
|
tty: true
|
|
lint: |
|
|
set -e &&
|
|
yamllint --strict --format colored . &&
|
|
ansible-lint -v --force-color --offline --exclude .pipenv/ . ./molecule
|
|
provisioner:
|
|
name: "ansible"
|
|
inventory:
|
|
hosts:
|
|
all:
|
|
vars:
|
|
unattended_autofix_interrupted_dpkg: false
|
|
unattended_minimal_steps: true
|
|
unattended_install_on_shutdown: true
|
|
unattended_automatic_reboot: true
|
|
unattended_update_days: '{"Sat"}'
|
|
unattended_remove_unused_kernel_packages: true
|
|
unattended_only_on_ac_power: true
|
|
playbooks:
|
|
prepare: "prepare.yml"
|
|
check: "converge.yml"
|
|
converge: "converge.yml"
|
|
verify: "verify.yml"
|
|
verifier:
|
|
name: "ansible"
|
|
scenario:
|
|
name: "default"
|
|
test_sequence:
|
|
- "lint"
|
|
- "destroy"
|
|
- "dependency"
|
|
- "syntax"
|
|
- "create"
|
|
- "prepare"
|
|
- "check"
|
|
- "converge"
|
|
- "idempotence"
|
|
- "check"
|
|
- "side_effect"
|
|
- "verify"
|
|
- "destroy"
|
|
|
|
...
|