ba5e10832e
* Add missing Ansible & Yamllint configuration files * Fix requirements issues * Add tools/validate-files.py Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
48 lines
781 B
YAML
48 lines
781 B
YAML
---
|
|
driver:
|
|
name: docker
|
|
|
|
log: true
|
|
|
|
platforms:
|
|
- name: centos7
|
|
hostname: centos7
|
|
image: centos:7
|
|
pkg_extras: python-setuptools haproxy PyYAML
|
|
easy_install:
|
|
- pip
|
|
environment: &env
|
|
http_proxy: "{{ lookup('env', 'http_proxy') }}"
|
|
https_proxy: "{{ lookup('env', 'https_proxy') }}"
|
|
|
|
- name: fedora28
|
|
hostname: fedora28
|
|
image: fedora:28
|
|
pkg_extras: python*-setuptools haproxy PyYAML
|
|
environment:
|
|
<<: *env
|
|
|
|
provisioner:
|
|
name: ansible
|
|
log: true
|
|
env:
|
|
ANSIBLE_STDOUT_CALLBACK: yaml
|
|
ANSIBLE_LIBRARY: "../../../../library"
|
|
|
|
scenario:
|
|
test_sequence:
|
|
- destroy
|
|
- create
|
|
- prepare
|
|
- converge
|
|
- verify
|
|
- destroy
|
|
|
|
lint:
|
|
enabled: true
|
|
|
|
verifier:
|
|
name: testinfra
|
|
lint:
|
|
name: flake8
|