-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix vmware_guest_serial_port to have idempotency #358
Fix vmware_guest_serial_port to have idempotency #358
Conversation
f12c483
to
9c2e40d
Compare
9c2e40d
to
254a235
Compare
add changelog file update integration test update integration test
254a235
to
0907df3
Compare
- choices: | ||
- client | ||
- server' | ||
- ' - C(no_rx_loss) (bool): Required when I(backing_type=pipe). | ||
Enables optimized data transfer over the pipe. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
VMware's default seems to be False
. Can we set it False
by default too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your comment!
I'll work on it :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed the no_rx_loss default value to False.
@@ -0,0 +1,2 @@ | |||
minor_changes: | |||
- vmware_guest_serial_port - fixed to have idepomtency(https://github.com/ansible-collections/vmware/pull/358). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order to be sure everybody understand, I would avoid the world idempotency
( not idepomtency :-) ) and just say: ensure we can run the module two times in a row without unexpected side effect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your advice.
I modified the changelog file that way!
Thank you @sky-joker! |
The required_if-unknown-key error occurs caused is I set wronged first key(alias) in the required_if list.
Thank you @goneri :) |
SUMMARY
This PR is to fix vmware_guest_serial_port to have idempotency.
Also, fix some documents.
fixes: #343
ISSUE TYPE
COMPONENT NAME
plugins/modules/vmware_guest_serial_port.py
ADDITIONAL INFORMATION
tested on vCenter/ESXi 7.0