From 1edf231477a7fc970f0d013587257a349e20596f Mon Sep 17 00:00:00 2001
From: Pierre Riteau <pierre@stackhpc.com>
Date: Tue, 5 Dec 2023 09:14:43 +0100
Subject: [PATCH] Pin ansible-core at 2.15.6

We are seeing the following issue since 2.15.7 was released:

    Pattern and root_dir should be of the same type, not <class
    'ansible.utils.unsafe_proxy.AnsibleUnsafeText'> and <class 'str'>

Change-Id: I5cb458132133d171037f8697072e6bd8858db01a
---
 requirements.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/requirements.txt b/requirements.txt
index dcf8a668..c2c91269 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,6 +1,8 @@
 pbr>=2.0 # Apache-2.0
 Jinja2>3 # BSD
 ansible>=7,<9.0 # GPLv3
+# NOTE(priteau): Temporary pin while we figure out issues with new ansible-core
+ansible-core<2.15.7 # GPLv3
 cliff>=3.1.0 # Apache
 netaddr!=0.7.16,>=0.7.13 # BSD
 PyYAML>=3.10.0 # MIT
-- 
GitLab