From b5b22c3f7e71a54e3c8b500d6df523eb5d7b7ff9 Mon Sep 17 00:00:00 2001
From: Rafael Guterres Jeffman <rjeffman@redhat.com>
Date: Tue, 5 Sep 2023 13:39:09 -0300
Subject: [PATCH] roles: Bump minimum Ansible version to 2.13

Currently, the minimum supported Ansible version is 2.13, and
ansible-freeipa roles does not work with any version less than 2.9,
altough ansible-freeipa documentation states that the minimum version to
use is 2.8.

This patch fixes documentation and roles metadata to require that the
minimum Ansible version used is 2.13.
---
 roles/ipabackup/README.md               | 2 +-
 roles/ipabackup/meta/main.yml           | 2 +-
 roles/ipaclient/README.md               | 2 +-
 roles/ipaclient/meta/main.yml           | 2 +-
 roles/ipareplica/README.md              | 2 +-
 roles/ipareplica/meta/main.yml          | 2 +-
 roles/ipaserver/README.md               | 2 +-
 roles/ipaserver/meta/main.yml           | 2 +-
 roles/ipasmartcard_client/README.md     | 2 +-
 roles/ipasmartcard_client/meta/main.yml | 2 +-
 roles/ipasmartcard_server/README.md     | 2 +-
 roles/ipasmartcard_server/meta/main.yml | 2 +-
 12 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/roles/ipabackup/README.md b/roles/ipabackup/README.md
index 7a27360a..6ccc8b36 100644
--- a/roles/ipabackup/README.md
+++ b/roles/ipabackup/README.md
@@ -42,7 +42,7 @@ Requirements
 ------------
 
 **Controller**
-* Ansible version: 2.8+
+* Ansible version: 2.13+
 
 **Node**
 * Supported FreeIPA version (see above)
diff --git a/roles/ipabackup/meta/main.yml b/roles/ipabackup/meta/main.yml
index f081e2a6..1474deb0 100644
--- a/roles/ipabackup/meta/main.yml
+++ b/roles/ipabackup/meta/main.yml
@@ -6,7 +6,7 @@ galaxy_info:
   description: A role to backup and restore an IPA server
   company: Red Hat, Inc
   license: GPLv3
-  min_ansible_version: "2.8"
+  min_ansible_version: "2.13"
   platforms:
   - name: Fedora
     versions:
diff --git a/roles/ipaclient/README.md b/roles/ipaclient/README.md
index ef157642..2d5f3d76 100644
--- a/roles/ipaclient/README.md
+++ b/roles/ipaclient/README.md
@@ -34,7 +34,7 @@ Requirements
 ------------
 
 **Controller**
-* Ansible version: 2.8+
+* Ansible version: 2.13+
 
 **Node**
 * Supported FreeIPA version (see above)
diff --git a/roles/ipaclient/meta/main.yml b/roles/ipaclient/meta/main.yml
index 7c759325..c268cc96 100644
--- a/roles/ipaclient/meta/main.yml
+++ b/roles/ipaclient/meta/main.yml
@@ -6,7 +6,7 @@ galaxy_info:
   description: A role to join a machine to an IPA domain
   company: Red Hat, Inc
   license: GPLv3
-  min_ansible_version: "2.8"
+  min_ansible_version: "2.13"
   platforms:
   - name: Fedora
     versions:
diff --git a/roles/ipareplica/README.md b/roles/ipareplica/README.md
index fb9b1a45..a391948a 100644
--- a/roles/ipareplica/README.md
+++ b/roles/ipareplica/README.md
@@ -36,7 +36,7 @@ Requirements
 ------------
 
 **Controller**
-* Ansible version: 2.8+
+* Ansible version: 2.13+
 
 **Node**
 * Supported FreeIPA version (see above)
diff --git a/roles/ipareplica/meta/main.yml b/roles/ipareplica/meta/main.yml
index 3054787c..e0577675 100644
--- a/roles/ipareplica/meta/main.yml
+++ b/roles/ipareplica/meta/main.yml
@@ -6,7 +6,7 @@ galaxy_info:
   description: A role to setup an IPA domain replica
   company: Red Hat, Inc
   license: GPLv3
-  min_ansible_version: "2.8"
+  min_ansible_version: "2.13"
   platforms:
   - name: Fedora
     versions:
diff --git a/roles/ipaserver/README.md b/roles/ipaserver/README.md
index c6d11147..5844f360 100644
--- a/roles/ipaserver/README.md
+++ b/roles/ipaserver/README.md
@@ -33,7 +33,7 @@ Requirements
 ------------
 
 **Controller**
-* Ansible version: 2.8+
+* Ansible version: 2.13+
 
 **Node**
 * Supported FreeIPA version (see above)
diff --git a/roles/ipaserver/meta/main.yml b/roles/ipaserver/meta/main.yml
index 89c7a384..ea68fd61 100644
--- a/roles/ipaserver/meta/main.yml
+++ b/roles/ipaserver/meta/main.yml
@@ -6,7 +6,7 @@ galaxy_info:
   description: A role to setup an iPA domain server
   company: Red Hat, Inc
   license: GPLv3
-  min_ansible_version: "2.8"
+  min_ansible_version: "2.13"
   platforms:
   - name: Fedora
     versions:
diff --git a/roles/ipasmartcard_client/README.md b/roles/ipasmartcard_client/README.md
index 55c95dfb..193460cf 100644
--- a/roles/ipasmartcard_client/README.md
+++ b/roles/ipasmartcard_client/README.md
@@ -32,7 +32,7 @@ Requirements
 ------------
 
 **Controller**
-* Ansible version: 2.8+
+* Ansible version: 2.13+
 
 **Node**
 * Supported FreeIPA version (see above)
diff --git a/roles/ipasmartcard_client/meta/main.yml b/roles/ipasmartcard_client/meta/main.yml
index 73d3a9d1..6fb16b17 100644
--- a/roles/ipasmartcard_client/meta/main.yml
+++ b/roles/ipasmartcard_client/meta/main.yml
@@ -6,7 +6,7 @@ galaxy_info:
   description: A role to setup IPA server(s) for Smart Card authentication
   company: Red Hat, Inc
   license: GPLv3
-  min_ansible_version: "2.8"
+  min_ansible_version: "2.13"
   platforms:
   - name: Fedora
     versions:
diff --git a/roles/ipasmartcard_server/README.md b/roles/ipasmartcard_server/README.md
index c758f247..bb03470b 100644
--- a/roles/ipasmartcard_server/README.md
+++ b/roles/ipasmartcard_server/README.md
@@ -34,7 +34,7 @@ Requirements
 ------------
 
 **Controller**
-* Ansible version: 2.8+
+* Ansible version: 2.13+
 
 **Node**
 * Supported FreeIPA version (see above)
diff --git a/roles/ipasmartcard_server/meta/main.yml b/roles/ipasmartcard_server/meta/main.yml
index 73d3a9d1..6fb16b17 100644
--- a/roles/ipasmartcard_server/meta/main.yml
+++ b/roles/ipasmartcard_server/meta/main.yml
@@ -6,7 +6,7 @@ galaxy_info:
   description: A role to setup IPA server(s) for Smart Card authentication
   company: Red Hat, Inc
   license: GPLv3
-  min_ansible_version: "2.8"
+  min_ansible_version: "2.13"
   platforms:
   - name: Fedora
     versions:
-- 
GitLab