From 1fd79240db5dd6bef033982d113edc95dba8d017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A9ri=20Le=20Bouder?= Date: Thu, 26 Sep 2019 12:55:15 -0400 Subject: [PATCH] vmware_httpapi: version_added==2.10 `vmware_httpapi` hierachy will actually be released with Ansible 2.10, not 2.9. This commit fixes the `version_added` field. --- .../vmware_httpapi/vmware_appliance_access_info.py | 2 +- .../vmware_httpapi/vmware_appliance_health_info.py | 2 +- .../cloud/vmware_httpapi/vmware_cis_category_info.py | 2 +- .../modules/cloud/vmware_httpapi/vmware_core_info.py | 2 +- lib/ansible/plugins/doc_fragments/VmwareRestModule.py | 6 +++--- .../plugins/doc_fragments/VmwareRestModule_filters.py | 8 ++++---- .../plugins/doc_fragments/VmwareRestModule_full.py | 10 +++++----- .../plugins/doc_fragments/VmwareRestModule_state.py | 8 ++++---- lib/ansible/plugins/httpapi/vmware.py | 2 +- 9 files changed, 21 insertions(+), 21 deletions(-) diff --git a/lib/ansible/modules/cloud/vmware_httpapi/vmware_appliance_access_info.py b/lib/ansible/modules/cloud/vmware_httpapi/vmware_appliance_access_info.py index abdd47abd5c..be8c75ada82 100644 --- a/lib/ansible/modules/cloud/vmware_httpapi/vmware_appliance_access_info.py +++ b/lib/ansible/modules/cloud/vmware_httpapi/vmware_appliance_access_info.py @@ -20,7 +20,7 @@ description: - This module can be used to gather information about the four modes of accessing the VCSA. - This module is based on REST API and uses httpapi connection plugin for persistent connection. - The Appliance API works against the VCSA and uses the "administrator@vsphere.local" user. -version_added: '2.9' +version_added: '2.10' author: - Paul Knight (@n3pjk) notes: diff --git a/lib/ansible/modules/cloud/vmware_httpapi/vmware_appliance_health_info.py b/lib/ansible/modules/cloud/vmware_httpapi/vmware_appliance_health_info.py index 9acaaec721c..d2282fabd60 100644 --- a/lib/ansible/modules/cloud/vmware_httpapi/vmware_appliance_health_info.py +++ b/lib/ansible/modules/cloud/vmware_httpapi/vmware_appliance_health_info.py @@ -20,7 +20,7 @@ description: - This module can be used to gather information about VCSA health. - This module is based on REST API and uses httpapi connection plugin for persistent connection. - The Appliance API works against the VCSA and uses the "administrator@vsphere.local" user. -version_added: '2.9' +version_added: '2.10' author: - Paul Knight (@n3pjk) notes: diff --git a/lib/ansible/modules/cloud/vmware_httpapi/vmware_cis_category_info.py b/lib/ansible/modules/cloud/vmware_httpapi/vmware_cis_category_info.py index 5c294d510fb..6ba3bef3408 100644 --- a/lib/ansible/modules/cloud/vmware_httpapi/vmware_cis_category_info.py +++ b/lib/ansible/modules/cloud/vmware_httpapi/vmware_cis_category_info.py @@ -20,7 +20,7 @@ description: - This module can be used to gather information about a specific category. - This module can also gather facts about all categories. - This module is based on REST API and uses httpapi connection plugin for persistent connection. -version_added: '2.9' +version_added: '2.10' author: - Paul Knight (@n3pjk) notes: diff --git a/lib/ansible/modules/cloud/vmware_httpapi/vmware_core_info.py b/lib/ansible/modules/cloud/vmware_httpapi/vmware_core_info.py index 74a4425c9fd..f05cf1cd49f 100644 --- a/lib/ansible/modules/cloud/vmware_httpapi/vmware_core_info.py +++ b/lib/ansible/modules/cloud/vmware_httpapi/vmware_core_info.py @@ -20,7 +20,7 @@ short_description: Gathers info about various VMware inventory objects using RES description: - This module can be used to gather information about various VMware inventory objects. - This module is based on REST API and uses httpapi connection plugin for persistent connection. -version_added: '2.9' +version_added: '2.10' author: - Abhijeet Kasurde (@Akasurde) - Paul Knight (@n3pjk) diff --git a/lib/ansible/plugins/doc_fragments/VmwareRestModule.py b/lib/ansible/plugins/doc_fragments/VmwareRestModule.py index 8dbd6038ca4..7ab85978ce1 100644 --- a/lib/ansible/plugins/doc_fragments/VmwareRestModule.py +++ b/lib/ansible/plugins/doc_fragments/VmwareRestModule.py @@ -15,21 +15,21 @@ options: - Indicates whether get_id() can return multiple IDs for a given name. - Typically, this should be false when updating or deleting; otherwise, all named objects could be affected. required: true - version_added: "2.9" + version_added: "2.10" type: bool log_level: description: - If ANSIBLE_DEBUG is set, this will be forced to 'debug', but can be user-defined otherwise. required: True choices: ['debug', 'info', 'normal'] - version_added: "2.9" + version_added: "2.10" type: str default: 'normal' status_code: description: - A list of integer status codes considered to be successful for the this module. required: true - version_added: "2.9" + version_added: "2.10" type: list default: [200] ''' diff --git a/lib/ansible/plugins/doc_fragments/VmwareRestModule_filters.py b/lib/ansible/plugins/doc_fragments/VmwareRestModule_filters.py index 73c52de4d98..b0575607c9b 100644 --- a/lib/ansible/plugins/doc_fragments/VmwareRestModule_filters.py +++ b/lib/ansible/plugins/doc_fragments/VmwareRestModule_filters.py @@ -15,27 +15,27 @@ options: - Indicates whether get_id() can return multiple IDs for a given name. - Typically, this should be false when updating or deleting; otherwise, all named objects could be affected. required: true - version_added: "2.9" + version_added: "2.10" type: bool filters: description: - The key/value pairs describing filters to be applied to the request(s) made by this instance. required: false - version_added: "2.9" + version_added: "2.10" type: dict log_level: description: - If ANSIBLE_DEBUG is set, this will be forced to 'debug', but can be user-defined otherwise. required: True choices: ['debug', 'info', 'normal'] - version_added: "2.9" + version_added: "2.10" type: str default: 'normal' status_code: description: - A list of integer status codes considered to be successful for the this module. required: true - version_added: "2.9" + version_added: "2.10" type: list default: [200] ''' diff --git a/lib/ansible/plugins/doc_fragments/VmwareRestModule_full.py b/lib/ansible/plugins/doc_fragments/VmwareRestModule_full.py index 3adf3b2b383..2875f91f7df 100644 --- a/lib/ansible/plugins/doc_fragments/VmwareRestModule_full.py +++ b/lib/ansible/plugins/doc_fragments/VmwareRestModule_full.py @@ -15,20 +15,20 @@ options: - Indicates whether get_id() can return multiple IDs for a given name. - Typically, this should be false when updating or deleting; otherwise, all named objects could be affected. required: true - version_added: "2.9" + version_added: "2.10" type: bool filters: description: - The key/value pairs describing filters to be applied to the request(s) made by this instance. required: false - version_added: "2.9" + version_added: "2.10" type: dict log_level: description: - If ANSIBLE_DEBUG is set, this will be forced to 'debug', but can be user-defined otherwise. required: True choices: ['debug', 'info', 'normal'] - version_added: "2.9" + version_added: "2.10" type: str default: 'normal' state: @@ -36,14 +36,14 @@ options: - Either 'absent' or 'present', depending on whether object should be removed or created. required: false choices: ['absent', 'present', 'query'] - version_added: "2.9" + version_added: "2.10" type: str default: 'present' status_code: description: - A list of integer status codes considered to be successful for the this module. required: true - version_added: "2.9" + version_added: "2.10" type: list default: [200] ''' diff --git a/lib/ansible/plugins/doc_fragments/VmwareRestModule_state.py b/lib/ansible/plugins/doc_fragments/VmwareRestModule_state.py index 01b692ca9fe..adcce4fdeb8 100644 --- a/lib/ansible/plugins/doc_fragments/VmwareRestModule_state.py +++ b/lib/ansible/plugins/doc_fragments/VmwareRestModule_state.py @@ -15,14 +15,14 @@ options: - Indicates whether get_id() can return multiple IDs for a given name. - Typically, this should be false when updating or deleting; otherwise, all named objects could be affected. required: true - version_added: "2.9" + version_added: "2.10" type: bool log_level: description: - If ANSIBLE_DEBUG is set, this will be forced to 'debug', but can be user-defined otherwise. required: True choices: ['debug', 'info', 'normal'] - version_added: "2.9" + version_added: "2.10" type: str default: 'normal' state: @@ -30,14 +30,14 @@ options: - Either 'absent' or 'present', depending on whether object should be removed or created. required: false choices: ['absent', 'present', 'query'] - version_added: "2.9" + version_added: "2.10" type: str default: 'present' status_code: description: - A list of integer status codes considered to be successful for the this module. required: true - version_added: "2.9" + version_added: "2.10" type: list default: [200] ''' diff --git a/lib/ansible/plugins/httpapi/vmware.py b/lib/ansible/plugins/httpapi/vmware.py index 1e20d667a18..96bfa319696 100644 --- a/lib/ansible/plugins/httpapi/vmware.py +++ b/lib/ansible/plugins/httpapi/vmware.py @@ -13,7 +13,7 @@ httpapi : vmware short_description: HttpApi Plugin for VMware REST API description: - This HttpApi plugin provides methods to connect to VMware vCenter over a HTTP(S)-based APIs. -version_added: "2.9" +version_added: "2.10" """ import json