From 0a3cd06c6e0496d16b7516162b62d1ca3c631a22 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Tue, 5 Sep 2023 13:42:27 -0300 Subject: [PATCH] README-*: Bump minimum supported Ansible version to 2.13 As ansible-freeipa roles do not support version 2.8 anymore, change the minimum supported version to 2.13, which is the currently minimum available and supported Ansible version. This patch fixes documentation on all plugin READMEs, spec file and module templates. --- README-automember.md | 2 +- README-automountkey.md | 2 +- README-automountlocation.md | 2 +- README-automountmap.md | 2 +- README-cert.md | 2 +- README-config.md | 2 +- README-delegation.md | 2 +- README-dnsconfig.md | 2 +- README-dnsforwardzone.md | 2 +- README-dnsrecord.md | 2 +- README-dnszone.md | 2 +- README-group.md | 2 +- README-hbacrule.md | 2 +- README-hbacsvc.md | 2 +- README-hbacsvcgroup.md | 2 +- README-host.md | 2 +- README-hostgroup.md | 2 +- README-idrange.md | 2 +- README-location.md | 2 +- README-netgroup.md | 2 +- README-permission.md | 2 +- README-privilege.md | 2 +- README-pwpolicy.md | 2 +- README-role.md | 2 +- README-selfservice.md | 2 +- README-server.md | 2 +- README-service.md | 2 +- README-servicedelegationrule.md | 2 +- README-servicedelegationtarget.md | 2 +- README-sudocmd.md | 2 +- README-sudocmdgroup.md | 2 +- README-sudorule.md | 2 +- README-topology.md | 2 +- README-trust.md | 2 +- README-user.md | 2 +- README-vault.md | 2 +- README.md | 12 +----------- utils/ansible-freeipa.spec.in | 2 +- utils/templates/README-module+member.md.in | 2 +- utils/templates/README-module.md.in | 2 +- 40 files changed, 40 insertions(+), 50 deletions(-) diff --git a/README-automember.md b/README-automember.md index d3d198ba04..a930eacbfb 100644 --- a/README-automember.md +++ b/README-automember.md @@ -22,7 +22,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-automountkey.md b/README-automountkey.md index cb49b5b59d..6cf638214a 100644 --- a/README-automountkey.md +++ b/README-automountkey.md @@ -21,7 +21,7 @@ FreeIPA versions 4.4.0 and up are supported by the ipaautomountkey module. Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-automountlocation.md b/README-automountlocation.md index 1bf1478085..66c34ca29a 100644 --- a/README-automountlocation.md +++ b/README-automountlocation.md @@ -21,7 +21,7 @@ FreeIPA versions 4.4.0 and up are supported by the ipaautomountlocation module. Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-automountmap.md b/README-automountmap.md index 77e6af0920..fcbaa1e6b9 100644 --- a/README-automountmap.md +++ b/README-automountmap.md @@ -21,7 +21,7 @@ FreeIPA versions 4.4.0 and up are supported by the ipaautomountmap module. Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-cert.md b/README-cert.md index 14db56eb31..b2746d6f8c 100644 --- a/README-cert.md +++ b/README-cert.md @@ -25,7 +25,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ * Some tool to generate a certificate signing request (CSR) might be needed, like `openssl`. **Node** diff --git a/README-config.md b/README-config.md index b2615df246..9c13499118 100644 --- a/README-config.md +++ b/README-config.md @@ -25,7 +25,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-delegation.md b/README-delegation.md index 4260ed0620..2d6bf46064 100644 --- a/README-delegation.md +++ b/README-delegation.md @@ -23,7 +23,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-dnsconfig.md b/README-dnsconfig.md index b11fc220c3..9f2c9a025d 100644 --- a/README-dnsconfig.md +++ b/README-dnsconfig.md @@ -22,7 +22,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-dnsforwardzone.md b/README-dnsforwardzone.md index b3bccca3ac..a01d5a2410 100644 --- a/README-dnsforwardzone.md +++ b/README-dnsforwardzone.md @@ -21,7 +21,7 @@ FreeIPA versions 4.4.0 and up are supported by the ipadnsforwardzone module. Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-dnsrecord.md b/README-dnsrecord.md index 69838f9119..7cebdb380a 100644 --- a/README-dnsrecord.md +++ b/README-dnsrecord.md @@ -22,7 +22,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-dnszone.md b/README-dnszone.md index e6673dc003..607e77bc21 100644 --- a/README-dnszone.md +++ b/README-dnszone.md @@ -23,7 +23,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** diff --git a/README-group.md b/README-group.md index 181e407c7f..c3477f72ea 100644 --- a/README-group.md +++ b/README-group.md @@ -29,7 +29,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-hbacrule.md b/README-hbacrule.md index c60d4d6662..0469ae37cc 100644 --- a/README-hbacrule.md +++ b/README-hbacrule.md @@ -22,7 +22,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-hbacsvc.md b/README-hbacsvc.md index bf4a836cc4..9c54df67b2 100644 --- a/README-hbacsvc.md +++ b/README-hbacsvc.md @@ -22,7 +22,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-hbacsvcgroup.md b/README-hbacsvcgroup.md index 09f0f75eb0..383f7ef3d7 100644 --- a/README-hbacsvcgroup.md +++ b/README-hbacsvcgroup.md @@ -22,7 +22,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-host.md b/README-host.md index e0c10ccfcc..6ee8281807 100644 --- a/README-host.md +++ b/README-host.md @@ -24,7 +24,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-hostgroup.md b/README-hostgroup.md index a06e2146ac..6c15f2f5f9 100644 --- a/README-hostgroup.md +++ b/README-hostgroup.md @@ -26,7 +26,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-idrange.md b/README-idrange.md index 0f584ab7db..95ec12ca75 100644 --- a/README-idrange.md +++ b/README-idrange.md @@ -37,7 +37,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-location.md b/README-location.md index e8ce363ce1..691e45cf5b 100644 --- a/README-location.md +++ b/README-location.md @@ -22,7 +22,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-netgroup.md b/README-netgroup.md index 468e105721..f58fd8d84e 100644 --- a/README-netgroup.md +++ b/README-netgroup.md @@ -22,7 +22,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-permission.md b/README-permission.md index d571e0b084..a58f1b80bd 100644 --- a/README-permission.md +++ b/README-permission.md @@ -22,7 +22,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-privilege.md b/README-privilege.md index 593929e0b9..b70d5e3cb9 100644 --- a/README-privilege.md +++ b/README-privilege.md @@ -22,7 +22,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-pwpolicy.md b/README-pwpolicy.md index 8d158459eb..3ae7860221 100644 --- a/README-pwpolicy.md +++ b/README-pwpolicy.md @@ -22,7 +22,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-role.md b/README-role.md index aa569f11b3..fb0549e0eb 100644 --- a/README-role.md +++ b/README-role.md @@ -25,7 +25,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-selfservice.md b/README-selfservice.md index 8dc0f5579a..720247e0a5 100644 --- a/README-selfservice.md +++ b/README-selfservice.md @@ -23,7 +23,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-server.md b/README-server.md index 33da133122..b47cbca477 100644 --- a/README-server.md +++ b/README-server.md @@ -22,7 +22,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-service.md b/README-service.md index 0047dfaac6..d2689abf51 100644 --- a/README-service.md +++ b/README-service.md @@ -25,7 +25,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FReeIPA version (see above) diff --git a/README-servicedelegationrule.md b/README-servicedelegationrule.md index 3743eeb5dd..8c8526e9e6 100644 --- a/README-servicedelegationrule.md +++ b/README-servicedelegationrule.md @@ -24,7 +24,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-servicedelegationtarget.md b/README-servicedelegationtarget.md index b6da5e866e..6b77353e0d 100644 --- a/README-servicedelegationtarget.md +++ b/README-servicedelegationtarget.md @@ -24,7 +24,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-sudocmd.md b/README-sudocmd.md index 6c4793522b..9025eb04b1 100644 --- a/README-sudocmd.md +++ b/README-sudocmd.md @@ -24,7 +24,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-sudocmdgroup.md b/README-sudocmdgroup.md index dea3c1acf7..887c1ed354 100644 --- a/README-sudocmdgroup.md +++ b/README-sudocmdgroup.md @@ -24,7 +24,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-sudorule.md b/README-sudorule.md index bd23c178bd..c66ccd6a7b 100644 --- a/README-sudorule.md +++ b/README-sudorule.md @@ -22,7 +22,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-topology.md b/README-topology.md index b9063eb9ac..146eb16004 100644 --- a/README-topology.md +++ b/README-topology.md @@ -22,7 +22,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-trust.md b/README-trust.md index efa69c7a7e..fc963a3315 100644 --- a/README-trust.md +++ b/README-trust.md @@ -21,7 +21,7 @@ Requirements **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** diff --git a/README-user.md b/README-user.md index 78b258045c..e51d7af300 100644 --- a/README-user.md +++ b/README-user.md @@ -24,7 +24,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README-vault.md b/README-vault.md index bff2d2292b..ef490f82ca 100644 --- a/README-vault.md +++ b/README-vault.md @@ -24,7 +24,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/README.md b/README.md index 8af48aa5b4..09afe310d1 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ (ansible-freeipa is an Ansible Collection) +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) @@ -130,18 +130,8 @@ This command will get the whole collection from galaxy: ansible-galaxy collection install freeipa.ansible_freeipa ``` -Installing collections using the ansible-galaxy command is only supported with ansible 2.9+. - -The mazer tool can be used for to install the collection for ansible 2.8: - -```bash -mazer install freeipa.ansible_freeipa -``` - Ansible galaxy does not support the use of dash ('-') in a name and is automatically replacing this with an underscore ('\_'). Therefore the name is `ansible_freeipa`. The ansible_freeipa collection will be placed in the directory `~/.ansible/collections/ansible_collections/freeipa/ansible_freeipa` where it will be automatically be found for this user. -The needed adaptions of collection prefixes for `modules` and `module_utils` will be done with ansible-freeipa release `0.1.6` for galaxy. - Ansible inventory file ---------------------- diff --git a/utils/ansible-freeipa.spec.in b/utils/ansible-freeipa.spec.in index f4d920740f..e05a4ad3e2 100644 --- a/utils/ansible-freeipa.spec.in +++ b/utils/ansible-freeipa.spec.in @@ -84,7 +84,7 @@ Supported Distributions Requirements Controller - - Ansible version: 2.8+ (ansible-freeipa is an Ansible Collection) + - Ansible version: 2.13+ - /usr/bin/kinit is required on the controller if a one time password (OTP) is used diff --git a/utils/templates/README-module+member.md.in b/utils/templates/README-module+member.md.in index 7ee97d9c0d..2617b84721 100644 --- a/utils/templates/README-module+member.md.in +++ b/utils/templates/README-module+member.md.in @@ -22,7 +22,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above) diff --git a/utils/templates/README-module.md.in b/utils/templates/README-module.md.in index 1b8635cdab..3f67e2362c 100644 --- a/utils/templates/README-module.md.in +++ b/utils/templates/README-module.md.in @@ -22,7 +22,7 @@ Requirements ------------ **Controller** -* Ansible version: 2.8+ +* Ansible version: 2.13+ **Node** * Supported FreeIPA version (see above)