35 lines
805 B
YAML
35 lines
805 B
YAML
---
|
|
log: true
|
|
platforms:
|
|
- name: centos
|
|
hostname: centos
|
|
image: centos/centos:stream8
|
|
registry:
|
|
url: quay.io
|
|
dockerfile: Dockerfile.j2
|
|
pkg_extras: python*setuptools
|
|
volumes:
|
|
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
|
|
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
|
|
- /opt/yum.repos.d:/etc/yum.repos.d:rw
|
|
- /etc/dnf/vars:/etc/dnf/vars
|
|
privileged: true
|
|
command: /sbin/init
|
|
environment: &env
|
|
http_proxy: "{{ lookup('env', 'http_proxy') }}"
|
|
https_proxy: "{{ lookup('env', 'https_proxy') }}"
|
|
ulimits: &ulimit
|
|
- host
|
|
|
|
provisioner:
|
|
inventory:
|
|
hosts:
|
|
all:
|
|
hosts:
|
|
centos:
|
|
ansible_python_interpreter: /usr/bin/python3
|
|
name: ansible
|
|
log: true
|
|
env:
|
|
ANSIBLE_STDOUT_CALLBACK: yaml
|