2021-12-14 10:26:42 +00:00
|
|
|
---
|
|
|
|
dependency:
|
2022-01-13 16:52:21 +00:00
|
|
|
name: shell
|
|
|
|
command: ansible-galaxy collection install -r molecule/default/requirements.yml -p $HOME/.ansible/collections --force-with-deps
|
2021-12-14 10:26:42 +00:00
|
|
|
driver:
|
2022-01-14 09:29:48 +00:00
|
|
|
name: docker
|
2022-02-15 12:05:33 +00:00
|
|
|
lint: |
|
2022-02-15 12:14:36 +00:00
|
|
|
ansible-lint --version
|
|
|
|
ansible-lint -vv
|
2021-12-14 10:26:42 +00:00
|
|
|
platforms:
|
|
|
|
- name: instance
|
|
|
|
image: registry.access.redhat.com/ubi8/ubi-init:latest
|
|
|
|
pre_build_image: true
|
|
|
|
privileged: true
|
|
|
|
command: "/usr/sbin/init"
|
|
|
|
port_bindings:
|
|
|
|
- "8080/tcp"
|
|
|
|
- "8443/tcp"
|
|
|
|
- "8009/tcp"
|
|
|
|
provisioner:
|
|
|
|
name: ansible
|
|
|
|
config_options:
|
|
|
|
defaults:
|
|
|
|
interpreter_python: auto_silent
|
|
|
|
ssh_connection:
|
|
|
|
pipelining: false
|
|
|
|
playbooks:
|
|
|
|
prepare: prepare.yml
|
|
|
|
converge: converge.yml
|
|
|
|
verify: verify.yml
|
|
|
|
inventory:
|
|
|
|
host_vars:
|
|
|
|
localhost:
|
|
|
|
ansible_python_interpreter: "{{ ansible_playbook_python }}"
|
|
|
|
env:
|
|
|
|
ANSIBLE_FORCE_COLOR: "true"
|
|
|
|
verifier:
|
|
|
|
name: ansible
|
|
|
|
scenario:
|
|
|
|
test_sequence:
|
|
|
|
- dependency
|
|
|
|
- lint
|
|
|
|
- cleanup
|
|
|
|
- destroy
|
|
|
|
- syntax
|
|
|
|
- create
|
|
|
|
- prepare
|
|
|
|
- converge
|
2021-12-16 13:24:06 +00:00
|
|
|
- idempotence
|
2021-12-14 10:26:42 +00:00
|
|
|
- side_effect
|
|
|
|
- verify
|
|
|
|
- cleanup
|
|
|
|
- destroy
|