mirror of
https://github.com/dev-sec/ansible-collection-hardening
synced 2024-11-14 02:47:06 +00:00
6c80de270b
Signed-off-by: rndmh3ro <github@gumpri.ch>
64 lines
1.3 KiB
YAML
64 lines
1.3 KiB
YAML
---
|
|
dependency:
|
|
name: galaxy
|
|
options:
|
|
role-file: molecule/mysql_hardening/requirements.yml
|
|
requirements-file: molecule/mysql_hardening/requirements.yml
|
|
driver:
|
|
name: docker
|
|
platforms:
|
|
- name: instance
|
|
image: "rndmh3ro/docker-${MOLECULE_DISTRO}-ansible:latest"
|
|
command: ${MOLECULE_DOCKER_COMMAND:-/lib/systemd/systemd}
|
|
volumes:
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
privileged: true
|
|
pre_build_image: true
|
|
environment:
|
|
container: docker
|
|
security_opts:
|
|
- apparmor=unconfined
|
|
env:
|
|
http_proxy: "${http_proxy}"
|
|
https_proxy: "${https_proxy}"
|
|
no_proxy: "${no_proxy}"
|
|
container: docker
|
|
provisioner:
|
|
name: ansible
|
|
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
|
|
- converge
|
|
# - idempotence # not idempotent
|
|
- verify
|
|
- destroy
|