Fix tripleo_podman molecule jobs

In order to launch the container and connect via networking, we need
selinux disabled for a rootless container to still work. Let's move the
selinux disabling to first rather than later.

Change-Id: I345e8b8547b81e5791656d0fca6e90b1de48fdac
(cherry picked from commit 31bed0daa3)
This commit is contained in:
Alex Schultz 2021-01-12 12:21:50 -07:00
parent 6143ac0f60
commit 5d9aa6eb35
1 changed files with 4 additions and 5 deletions

View File

@ -35,6 +35,10 @@
- role: test_deps
tasks:
- name: Disable SELinux
become: true
selinux:
state: disabled
- name: Ensure registry doesn't exist
podman_container:
@ -78,8 +82,3 @@
name: tripleo_podman
tasks_from: tripleo_podman_install.yml
vars_from: "redhat.yml"
- name: Disable SELinux
become: true
selinux:
state: disabled