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

Commit

Permalink
Add validation of groups for molecule's platform (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
egarbi authored May 12, 2021
1 parent 5c66c7e commit 7bde143
Showing 1 changed file with 22 additions and 0 deletions.
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

0 comments on commit 7bde143

Please sign in to comment.