335b5da82f
The tripleo-transfer role from tripleo-common has been imported. This role will now be tested with molecule running in containers allowing us to validate the role functionality on CENT7 in a mock multi-node setup. Change-Id: If34709e5bd2f3a50ad673c1c6744379476c06d1c Signed-off-by: Kevin Carter <kecarter@redhat.com>
69 lines
1.3 KiB
YAML
69 lines
1.3 KiB
YAML
---
|
|
driver:
|
|
name: docker
|
|
|
|
log: true
|
|
|
|
platforms:
|
|
- name: overcloud-controller-0
|
|
hostname: overcloud-controller-0
|
|
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') }}"
|
|
command: /sbin/init
|
|
tmpfs:
|
|
- /run
|
|
- /tmp
|
|
capabilities:
|
|
- ALL # CENT7 requires all due to the age of the software
|
|
volumes:
|
|
- /run/udev:/run/udev:ro
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
- name: overcloud-controller-1
|
|
hostname: overcloud-controller-1
|
|
image: centos:7
|
|
dockerfile: Dockerfile
|
|
pkg_extras: python-setuptools
|
|
easy_install:
|
|
- pip
|
|
environment:
|
|
<<: *env
|
|
command: /sbin/init
|
|
tmpfs:
|
|
- /run
|
|
- /tmp
|
|
capabilities:
|
|
- ALL # CENT7 requires all due to the age of the software
|
|
volumes:
|
|
- /run/udev:/run/udev:ro
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
provisioner:
|
|
name: ansible
|
|
log: true
|
|
env:
|
|
ANSIBLE_STDOUT_CALLBACK: yaml
|
|
|
|
scenario:
|
|
test_sequence:
|
|
- destroy
|
|
- create
|
|
- prepare
|
|
- converge
|
|
- verify
|
|
- destroy
|
|
|
|
lint:
|
|
enabled: false
|
|
|
|
verifier:
|
|
name: testinfra
|
|
lint:
|
|
name: flake8
|