From 805414ef9d29deddd432fd3f591734a5f05da174 Mon Sep 17 00:00:00 2001
From: Maksim Malchuk <maksim.malchuk@gmail.com>
Date: Wed, 10 May 2023 15:09:45 +0300
Subject: [PATCH] CI: fix molecule job

Molecule job failed with an error:
AttributeError: 'Runtime' object has no attribute 'exec'
since 4.x ansible-compat were bring the breaking changes [1].
so we pin the 3.x version for molecule.

1. https://github.com/ansible/ansible-compat/pull/256

Change-Id: I5f0b97fec565036fb48654113d356cc947e1bbb8
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
---
 molecule-requirements.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/molecule-requirements.txt b/molecule-requirements.txt
index 0980f44c..01a4b0df 100644
--- a/molecule-requirements.txt
+++ b/molecule-requirements.txt
@@ -3,6 +3,7 @@
 # process, which may cause wedges in the gate later.
 
 ansible-lint>=3.0.0,<6.0.0,!=4.3.0 # MIT
+ansible-compat<4 # MIT
 docker # Apache-2.0
 molecule<4.1.0 # MIT
 molecule-docker # MIT
-- 
GitLab