Sorin Sbarnea e904b8213c Migrated to molecule 3.0
Updated configuration files to use newer version of molecule.

Change-Id: I617330a0b8b64028e43fc5d8aa1b7d97d0375ea5
2020-02-20 19:15:34 +00:00

51 lines
939 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-login}
ansible_connection_options:
ansible_connection: ssh
log: true
platforms:
- name: instance-login
provisioner:
name: ansible
config_options:
defaults:
fact_caching: jsonfile
fact_caching_connection: /tmp/molecule/facts
inventory:
hosts:
all:
hosts:
instance-login:
ansible_host: localhost
ansible_user: zuul
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_ROLES_PATH: "${ANSIBLE_ROLES_PATH}:${HOME}/zuul-jobs/roles"
scenario:
test_sequence:
- prepare
- converge
- verify
verifier:
name: testinfra