diff --git a/examples/molecule/default/molecule.yml b/examples/molecule/default/molecule.yml index e8d7d74d..3abc8ae9 100644 --- a/examples/molecule/default/molecule.yml +++ b/examples/molecule/default/molecule.yml @@ -12,6 +12,8 @@ log: true platforms: - name: ubi8 hostname: ubi8 + groups: + - ubi8 image: ubi8/ubi-init registry: url: registry.access.redhat.com @@ -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: @@ -34,6 +52,10 @@ provisioner: hosts: ubi8: ansible_python_interpreter: /usr/bin/python3 + ubi7: + selinux: permissive + ubi8: + selinux: enforced name: ansible log: true env: