From 5321524477f2f03b0e8cfa2271ceb9f328929d00 Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Sat, 21 Nov 2020 04:44:43 +0100 Subject: [PATCH] Fixed the 'version_added' field in the module description Details: * Fixed the 'version_added' field in the module description to no longer indicate the version of this module collection package, but instead the minimum Ansible version supported, consistent with the definition of that field. Since Ansible Galaxy supports Ansible 2.9 and above, the field now shows 2.9 for all modules. Signed-off-by: Andreas Maier --- docs_source/changes.rst | 6 ++++++ plugins/modules/zhmc_adapter.py | 2 +- plugins/modules/zhmc_cpc.py | 2 +- plugins/modules/zhmc_crypto_attachment.py | 2 +- plugins/modules/zhmc_hba.py | 2 +- plugins/modules/zhmc_nic.py | 2 +- plugins/modules/zhmc_partition.py | 2 +- plugins/modules/zhmc_storage_group.py | 2 +- plugins/modules/zhmc_storage_group_attachment.py | 2 +- plugins/modules/zhmc_storage_volume.py | 2 +- plugins/modules/zhmc_user.py | 2 +- plugins/modules/zhmc_virtual_function.py | 2 +- 12 files changed, 17 insertions(+), 11 deletions(-) diff --git a/docs_source/changes.rst b/docs_source/changes.rst index 65046652c..6160c761e 100644 --- a/docs_source/changes.rst +++ b/docs_source/changes.rst @@ -48,6 +48,12 @@ Released: not yet tasks: - ... +* Fixed the 'version_added' field in the module description to no longer + indicate the version of this module collection package, but instead the + minimum Ansible version supported, consistent with the definition of that + field. Since Ansible Galaxy supports Ansible 2.9 and above, the field + now shows 2.9 for all modules. + **Deprecations:** **Bug fixes:** diff --git a/plugins/modules/zhmc_adapter.py b/plugins/modules/zhmc_adapter.py index cfcfd92af..8ea868d64 100644 --- a/plugins/modules/zhmc_adapter.py +++ b/plugins/modules/zhmc_adapter.py @@ -31,7 +31,7 @@ DOCUMENTATION = """ --- module: zhmc_adapter -version_added: "0.6.0" +version_added: "2.9.0" short_description: Manages adapters of Z systems. description: - Gather facts about an adapter of a CPC (Z system), including its ports. diff --git a/plugins/modules/zhmc_cpc.py b/plugins/modules/zhmc_cpc.py index 0dbbccfe3..069a14718 100644 --- a/plugins/modules/zhmc_cpc.py +++ b/plugins/modules/zhmc_cpc.py @@ -31,7 +31,7 @@ DOCUMENTATION = """ --- module: zhmc_cpc -version_added: "0.6.0" +version_added: "2.9.0" short_description: Manages Z systems at the system level. description: - Gather facts about a CPC (Z system), including its adapters and partitions. diff --git a/plugins/modules/zhmc_crypto_attachment.py b/plugins/modules/zhmc_crypto_attachment.py index 513db0ae8..2e2c56cc7 100644 --- a/plugins/modules/zhmc_crypto_attachment.py +++ b/plugins/modules/zhmc_crypto_attachment.py @@ -31,7 +31,7 @@ DOCUMENTATION = """ --- module: zhmc_crypto_attachment -version_added: "0.6.0" +version_added: "2.9.0" short_description: Manages the attachment of crypto resources to partitions of Z systems. description: diff --git a/plugins/modules/zhmc_hba.py b/plugins/modules/zhmc_hba.py index eed66e6d3..a1296ebe7 100644 --- a/plugins/modules/zhmc_hba.py +++ b/plugins/modules/zhmc_hba.py @@ -31,7 +31,7 @@ DOCUMENTATION = """ --- module: zhmc_hba -version_added: "0.5.0" +version_added: "2.9.0" short_description: Manages HBAs in partitions of Z systems. description: - Create, update, or delete an HBA (virtual Host Bus Adapter) in a partition diff --git a/plugins/modules/zhmc_nic.py b/plugins/modules/zhmc_nic.py index acd39d637..4f1ef473c 100644 --- a/plugins/modules/zhmc_nic.py +++ b/plugins/modules/zhmc_nic.py @@ -31,7 +31,7 @@ DOCUMENTATION = """ --- module: zhmc_nic -version_added: "0.5.0" +version_added: "2.9.0" short_description: Manages NICs in partitions of Z systems. description: - Create, update, or delete a NIC (virtual Network Interface Card) in a diff --git a/plugins/modules/zhmc_partition.py b/plugins/modules/zhmc_partition.py index a82ca790d..edf6ada38 100644 --- a/plugins/modules/zhmc_partition.py +++ b/plugins/modules/zhmc_partition.py @@ -31,7 +31,7 @@ DOCUMENTATION = """ --- module: zhmc_partition -version_added: "0.5.0" +version_added: "2.9.0" short_description: Manages partitions of Z systems. description: - Gather facts about a partition of a CPC (Z system), including its HBAs, diff --git a/plugins/modules/zhmc_storage_group.py b/plugins/modules/zhmc_storage_group.py index af0f6593c..9a26cc6c5 100644 --- a/plugins/modules/zhmc_storage_group.py +++ b/plugins/modules/zhmc_storage_group.py @@ -31,7 +31,7 @@ DOCUMENTATION = """ --- module: zhmc_storage_group -version_added: "0.5.0" +version_added: "2.9.0" short_description: Manages storage groups of Z systems. description: - Gather facts about a storage group associated with a CPC (Z system), diff --git a/plugins/modules/zhmc_storage_group_attachment.py b/plugins/modules/zhmc_storage_group_attachment.py index b5309cc31..c3483c2a2 100644 --- a/plugins/modules/zhmc_storage_group_attachment.py +++ b/plugins/modules/zhmc_storage_group_attachment.py @@ -31,7 +31,7 @@ DOCUMENTATION = """ --- module: zhmc_storage_group_attachment -version_added: "0.5.0" +version_added: "2.9.0" short_description: Manages the attachment of storage groups to partitions of Z systems. description: diff --git a/plugins/modules/zhmc_storage_volume.py b/plugins/modules/zhmc_storage_volume.py index ae1e5c5a8..5d1d16bd5 100644 --- a/plugins/modules/zhmc_storage_volume.py +++ b/plugins/modules/zhmc_storage_volume.py @@ -31,7 +31,7 @@ DOCUMENTATION = """ --- module: zhmc_storage_volume -version_added: "0.5.0" +version_added: "2.9.0" short_description: Manages storage volumes of Z systems. description: - Gather facts about a storage volume in a storage group associated with a diff --git a/plugins/modules/zhmc_user.py b/plugins/modules/zhmc_user.py index c0d2cb6f3..31e879b15 100644 --- a/plugins/modules/zhmc_user.py +++ b/plugins/modules/zhmc_user.py @@ -31,7 +31,7 @@ DOCUMENTATION = """ --- module: zhmc_user -version_added: "1.0.0" +version_added: "2.9.0" short_description: Manages users defined on the HMC of Z systems. description: - Gather facts about a user on an HMC of a Z system. diff --git a/plugins/modules/zhmc_virtual_function.py b/plugins/modules/zhmc_virtual_function.py index 5fe41a5c3..afedd1484 100644 --- a/plugins/modules/zhmc_virtual_function.py +++ b/plugins/modules/zhmc_virtual_function.py @@ -31,7 +31,7 @@ DOCUMENTATION = """ --- module: zhmc_virtual_function -version_added: "0.5.0" +version_added: "2.9.0" short_description: Manages virtual functions in partitions of Z systems. description: - Create, update, or delete a virtual function in a partition of a CPC