Skip to content

Commit

Permalink
Document snapshot_id available for state=revert (ansible-collections#…
Browse files Browse the repository at this point in the history
…2146)

Fixes ansible-collections#2145
SUMMARY
Document that snapshot_id parameter is also available when state=revert, not only when state=absent.
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
vmware_guest_snapshot
ADDITIONAL INFORMATION

Reviewed-by: Alexander Nikitin <[email protected]>
  • Loading branch information
mariolenz authored Sep 3, 2024
1 parent c86a7cd commit e4c45c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelogs/fragments/2055-vmware_guest_snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bugfixes:
- vmware_guest_snapshot - Update documentation regarding snapshot_id parameter
(https://github.com/ansible-collections/community.vmware/issues/2145).
2 changes: 1 addition & 1 deletion plugins/modules/vmware_guest_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
snapshot_id:
description:
- Sets the snapshot id to manage.
- This param is available when O(state=absent).
- This param is available when O(state=absent) or O(state=revert).
type: int
version_added: 3.10.0
description:
Expand Down

0 comments on commit e4c45c5

Please sign in to comment.