Skip to content

Commit

Permalink
vmware_httpapi: version_added==2.10
Browse files Browse the repository at this point in the history
`vmware_httpapi` hierachy will actually be released with Ansible 2.10, not
2.9. This commit fixes the `version_added` field.
  • Loading branch information
goneri committed Oct 2, 2019
1 parent 0706782 commit 1fd7924
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
- 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 "[email protected]" user.
version_added: '2.9'
version_added: '2.10'
author:
- Paul Knight (@n3pjk)
notes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
- 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 "[email protected]" user.
version_added: '2.9'
version_added: '2.10'
author:
- Paul Knight (@n3pjk)
notes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
- 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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
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)
Expand Down
6 changes: 3 additions & 3 deletions lib/ansible/plugins/doc_fragments/VmwareRestModule.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ class ModuleDocFragment(object):
- 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]
'''
8 changes: 4 additions & 4 deletions lib/ansible/plugins/doc_fragments/VmwareRestModule_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@ class ModuleDocFragment(object):
- 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]
'''
10 changes: 5 additions & 5 deletions lib/ansible/plugins/doc_fragments/VmwareRestModule_full.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,35 +15,35 @@ class ModuleDocFragment(object):
- 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:
description:
- 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]
'''
8 changes: 4 additions & 4 deletions lib/ansible/plugins/doc_fragments/VmwareRestModule_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,29 @@ class ModuleDocFragment(object):
- 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:
description:
- 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]
'''
2 changes: 1 addition & 1 deletion lib/ansible/plugins/httpapi/vmware.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
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
Expand Down

0 comments on commit 1fd7924

Please sign in to comment.