Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Add validation of groups for molecule's platform #53

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions examples/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ log: true
platforms:
- name: ubi8
hostname: ubi8
groups:
- ubi8
image: ubi8/ubi-init
registry:
url: registry.access.redhat.com
Expand All @@ -26,6 +28,22 @@ platforms:
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host
- name: ubi7
hostname: ubi7
groups:
- ubi7
image: ubi7/ubi-init
registry:
url: registry.access.redhat.com
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
https_proxy: "{{ lookup('env', 'https_proxy') }}"
ulimits: &ulimit
- host

provisioner:
inventory:
Expand All @@ -34,6 +52,10 @@ provisioner:
hosts:
ubi8:
ansible_python_interpreter: /usr/bin/python3
ubi7:
selinux: permissive
ubi8:
selinux: enforced
name: ansible
log: true
env:
Expand Down