d8fb10f7b7
Distribution to run can be selected when running `ansible-playbook` by appending `-e 'distribution=fedora'` to the command. Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
18 lines
357 B
YAML
18 lines
357 B
YAML
- name: Start build container
|
|
hosts: localhost
|
|
vars:
|
|
image:
|
|
fedora: registry.fedoraproject.org/fedora:latest
|
|
alpine: docker.io/library/alpine:latest
|
|
debian: docker.io/library/debian:latest
|
|
|
|
roles:
|
|
- role: build_container
|
|
|
|
- name: CI run
|
|
hosts: builder
|
|
connection: podman
|
|
gather_facts: false
|
|
roles:
|
|
- role: ci_run
|