2020-11-07 20:19:43 +00:00
|
|
|
---
|
|
|
|
dependency:
|
|
|
|
name: galaxy
|
|
|
|
options:
|
|
|
|
role-file: molecule/os_hardening/requirements.yml
|
|
|
|
driver:
|
|
|
|
name: docker
|
|
|
|
platforms:
|
|
|
|
- name: instance
|
|
|
|
image: "rndmh3ro/docker-${MOLECULE_DISTRO}-ansible:latest"
|
|
|
|
command: ${MOLECULE_DOCKER_COMMAND:-/lib/systemd/systemd}
|
|
|
|
volumes:
|
2023-01-23 11:57:59 +00:00
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:rw
|
2020-11-07 20:19:43 +00:00
|
|
|
privileged: true
|
2023-01-23 10:46:35 +00:00
|
|
|
cgroupns_mode: host
|
2023-01-23 07:54:18 +00:00
|
|
|
pre_build_image: true
|
2020-11-07 20:19:43 +00:00
|
|
|
provisioner:
|
|
|
|
name: ansible
|
2023-01-19 12:42:10 +00:00
|
|
|
options:
|
|
|
|
diff: true
|
2020-11-07 20:19:43 +00:00
|
|
|
config_options:
|
|
|
|
defaults:
|
|
|
|
interpreter_python: auto_silent
|
|
|
|
callback_whitelist: profile_tasks, timer, yaml
|
|
|
|
verifier:
|
|
|
|
name: ansible
|
|
|
|
|
|
|
|
scenario:
|
|
|
|
create_sequence:
|
|
|
|
- dependency
|
|
|
|
- create
|
|
|
|
- prepare
|
|
|
|
check_sequence:
|
|
|
|
- dependency
|
|
|
|
- destroy
|
|
|
|
- create
|
|
|
|
- prepare
|
|
|
|
- converge
|
|
|
|
- check
|
|
|
|
- destroy
|
|
|
|
converge_sequence:
|
|
|
|
- dependency
|
|
|
|
- create
|
|
|
|
- prepare
|
|
|
|
- converge
|
|
|
|
destroy_sequence:
|
|
|
|
- destroy
|
|
|
|
test_sequence:
|
|
|
|
- dependency
|
|
|
|
- destroy
|
|
|
|
- syntax
|
|
|
|
- create
|
|
|
|
- prepare
|
2023-03-09 08:37:59 +00:00
|
|
|
- check
|
2020-11-07 20:19:43 +00:00
|
|
|
- converge
|
|
|
|
- idempotence
|
|
|
|
- verify
|
|
|
|
- destroy
|