c7006fc49d
Makes changes required by molecule v3.0.0 Change-Id: I7669145ce9eef0bbda662df11426be326d5f3f5e
44 lines
711 B
YAML
44 lines
711 B
YAML
---
|
|
driver:
|
|
name: docker
|
|
|
|
log: true
|
|
|
|
platforms:
|
|
- name: centos7
|
|
hostname: centos7
|
|
image: centos:7
|
|
dockerfile: Dockerfile
|
|
pkg_extras: python-setuptools
|
|
easy_install:
|
|
- pip
|
|
environment: &env
|
|
http_proxy: "{{ lookup('env', 'http_proxy') }}"
|
|
https_proxy: "{{ lookup('env', 'https_proxy') }}"
|
|
|
|
- name: centos8
|
|
hostname: centos8
|
|
image: centos:8
|
|
dockerfile: Dockerfile
|
|
pkg_extras: python*-setuptools
|
|
environment:
|
|
<<: *env
|
|
|
|
provisioner:
|
|
name: ansible
|
|
log: true
|
|
env:
|
|
ANSIBLE_STDOUT_CALLBACK: yaml
|
|
|
|
scenario:
|
|
test_sequence:
|
|
- destroy
|
|
- create
|
|
- prepare
|
|
- converge
|
|
- verify
|
|
- destroy
|
|
|
|
verifier:
|
|
name: testinfra
|