tripleo-ansible/tripleo_ansible/roles/tripleo_provision_mcelog/molecule/default/molecule.yml
Emilien Macchi 6184d57a4c Add missing doc & zuul job for tripleo_provision_mcelog
* Use become: true or the role can't be run as a regular user.
* Add the missing rst file that will generate the doc for the
  tripleo_provision_mcelog role.
* Add zuul layout to create the molecule job so we can test
  tripleo_provision_mcelog.
* Remove useless molecule/default/Dockerfile
* Update molecule/default/molecule.yml to match with other roles

Change-Id: I50efdfe02a3deec961f0a1fde473458ca6110698
(cherry picked from commit ed6893bd16)
2020-05-26 16:13:25 -04:00

51 lines
1.1 KiB
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
inventory:
hosts:
all:
hosts:
instance:
ansible_host: localhost
log: true
env:
ANSIBLE_STDOUT_CALLBACK: yaml
ANSIBLE_ROLES_PATH: "${ANSIBLE_ROLES_PATH:-/usr/share/ansible/roles}:${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
verifier:
name: testinfra