ca57cdd651
When running molecule, the exported ansible-test-env.rc file provides ANSIBLE_FILTER_PLUGINS, but it is not seen from the created instance: INFO Set ANSIBLE_LIBRARY=/home/zuul/ ... INFO Set ANSIBLE_COLLECTIONS_PATH=/home/zuul/ ... INFO Set ANSIBLE_ROLES_PATH ... Change-Id: I2b208fbed8819df4a30e5cb7622fc89cf9e11171 Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
47 lines
976 B
YAML
47 lines
976 B
YAML
---
|
|
driver:
|
|
name: delegated
|
|
options:
|
|
managed: false
|
|
login_cmd_template: >-
|
|
ssh
|
|
-o UserKnownHostsFile=/dev/null
|
|
-o StrictHostKeyChecking=no
|
|
-o Compression=no
|
|
-o TCPKeepAlive=yes
|
|
-o VerifyHostKeyDNS=no
|
|
-o ForwardX11=no
|
|
-o ForwardAgent=no
|
|
{instance}
|
|
ansible_connection_options:
|
|
ansible_connection: ssh
|
|
|
|
log: true
|
|
|
|
platforms:
|
|
- name: instance
|
|
|
|
provisioner:
|
|
name: ansible
|
|
config_options:
|
|
defaults:
|
|
fact_caching: jsonfile
|
|
fact_caching_connection: /tmp/molecule/facts
|
|
log: true
|
|
env:
|
|
ANSIBLE_STDOUT_CALLBACK: yaml
|
|
ANSIBLE_ROLES_PATH: "${ANSIBLE_ROLES_PATH}:${HOME}/zuul-jobs/roles"
|
|
ANSIBLE_LIBRARY: "${ANSIBLE_LIBRARY:-/usr/share/ansible/plugins/modules}"
|
|
ANSIBLE_FILTER_PLUGINS: "${ANSIBLE_FILTER_PLUGINS:-/usr/share/ansible/plugins/filter}"
|
|
|
|
scenario:
|
|
test_sequence:
|
|
- prepare
|
|
- converge
|
|
- check
|
|
- verify
|
|
- cleanup
|
|
|
|
verifier:
|
|
name: ansible
|