From e6eeba3beab61bafeb5f1228f6fc953a10c00508 Mon Sep 17 00:00:00 2001
From: matbu <mat.bultel@gmail.com>
Date: Wed, 16 Nov 2022 14:42:36 +0100
Subject: [PATCH] Install podman with privilege escalation

(moving back the podman job to voting)

Change-Id: I503689d38ecf5008a309fe5e3c49fceb45323900
---
 .zuul.yaml                               | 3 +--
 playbooks/validations-libs-podified.yaml | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.zuul.yaml b/.zuul.yaml
index 1f84907b..66b7af1b 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -5,7 +5,7 @@
     run: playbooks/validations-libs-podified.yaml
     post-run: playbooks/post.yaml
     timeout: 7200
-    voting: false
+    voting: true
     required-projects:
       - openstack/validations-libs
       - openstack/validations-common
@@ -24,7 +24,6 @@
 
 - job:
     name: validations-libs-podified-docker
-    voting: true
     parent: validations-libs-podified-podman
     vars:
       container_engine: docker
diff --git a/playbooks/validations-libs-podified.yaml b/playbooks/validations-libs-podified.yaml
index a0b512c2..9aeca30b 100644
--- a/playbooks/validations-libs-podified.yaml
+++ b/playbooks/validations-libs-podified.yaml
@@ -11,6 +11,7 @@
       when:
         - "'{{ container_executable }}' == 'docker'"
     - role: ensure-podman
+      become: yes
       when:
         - "'{{ container_executable }}' == 'podman'"
     - role: ensure-if-python