Skip to content
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

[Windows] Install windows update patch by msu file #525

Merged
merged 21 commits into from
Jan 10, 2024

Conversation

123lzxm
Copy link
Collaborator

@123lzxm 123lzxm commented Dec 19, 2023

Install the specific windows update patch which is *.msu file.

@123lzxm 123lzxm added this to the 3.1 milestone Dec 19, 2023
vars/test.yml Outdated Show resolved Hide resolved
windows/windows_update/windows_update.yml Outdated Show resolved Hide resolved
windows/windows_update/win_update_restore_snapshot.yml Outdated Show resolved Hide resolved
windows/windows_update/windows_update.yml Outdated Show resolved Hide resolved
windows/windows_update/windows_update.yml Outdated Show resolved Hide resolved
windows/windows_update/windows_update.yml Outdated Show resolved Hide resolved
windows/windows_update/win_update_restore_snapshot.yml Outdated Show resolved Hide resolved
windows/windows_update/windows_update.yml Outdated Show resolved Hide resolved
windows/windows_update/windows_update.yml Outdated Show resolved Hide resolved
windows/windows_update/windows_update.yml Outdated Show resolved Hide resolved
windows/windows_update/win_update_restore_snapshot.yml Outdated Show resolved Hide resolved
@keirazhang
Copy link
Contributor

You may refer to below docs about Ansible Vault for password encryption and decryption.
https://docs.ansible.com/ansible/latest/vault_guide/index.html
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/vault_filter.html
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/unvault_filter.html

which should be a more proper and safer solution for this case.

@123lzxm 123lzxm force-pushed the add-suvp branch 2 times, most recently from 1f814f1 to 1eea975 Compare December 26, 2023 08:26
common/add_host_in_memory_inventory.yml Outdated Show resolved Hide resolved
main.yml Outdated Show resolved Hide resolved
@123lzxm 123lzxm force-pushed the add-suvp branch 3 times, most recently from ebeae2a to d6924c5 Compare January 3, 2024 09:23
@123lzxm 123lzxm force-pushed the add-suvp branch 3 times, most recently from b97d7d0 to b6169b5 Compare January 9, 2024 07:07
Tomorrow9
Tomorrow9 previously approved these changes Jan 9, 2024
Copy link
Member

@Tomorrow9 Tomorrow9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

vars/test.yml Outdated Show resolved Hide resolved
windows/utils/win_execute_cmd.yml Outdated Show resolved Hide resolved
keirazhang
keirazhang previously approved these changes Jan 9, 2024
Copy link
Contributor

@keirazhang keirazhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

Signed-off-by: Yanan Shen <yanans@vmware.com>
Signed-off-by: Yanan Shen <yanans@vmware.com>
Signed-off-by: Yanan Shen <yanans@vmware.com>
123lzxm added 17 commits January 9, 2024 16:37
Signed-off-by: Yanan Shen <yanans@vmware.com>
Signed-off-by: Yanan Shen <yanans@vmware.com>
Signed-off-by: Yanan Shen <yanans@vmware.com>
Signed-off-by: Yanan Shen <yanans@vmware.com>
Signed-off-by: Yanan Shen <yanans@vmware.com>
Signed-off-by: Yanan Shen <yanans@vmware.com>
Signed-off-by: Yanan Shen <yanans@vmware.com>
Signed-off-by: Yanan Shen <yanans@vmware.com>
Signed-off-by: Yanan Shen <yanans@vmware.com>
Signed-off-by: Yanan Shen <yanans@vmware.com>
Signed-off-by: Yanan Shen <yanans@vmware.com>
Signed-off-by: Yanan Shen <yanans@vmware.com>
Signed-off-by: Yanan Shen <yanans@vmware.com>
Signed-off-by: Yanan Shen <yanans@vmware.com>
Signed-off-by: Yanan Shen <yanans@vmware.com>
Signed-off-by: Yanan Shen <yanans@vmware.com>
Signed-off-by: Yanan Shen <yanans@vmware.com>
@123lzxm 123lzxm force-pushed the add-suvp branch 2 times, most recently from 53a2da8 to dec67c4 Compare January 9, 2024 09:05
Signed-off-by: Yanan Shen <yanans@vmware.com>
@123lzxm
Copy link
Collaborator Author

123lzxm commented Jan 9, 2024

Test Results (Total: 1, Passed: 1, Elapsed Time: 00:16:55)
+--------------------------------------------------+
| ID | Name                   | Status | Exec Time |
+--------------------------------------------------+
|  1 | windows_update_install | Passed | 00:16:33  |
+--------------------------------------------------+

Copy link
Member

@Tomorrow9 Tomorrow9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@123lzxm 123lzxm merged commit 3e2708d into vmware:main Jan 10, 2024
ZouYuhua pushed a commit to ZouYuhua/ansible-vsphere-gos-validation that referenced this pull request Jan 18, 2024
Signed-off-by: Yanan Shen <yanans@vmware.com>
@123lzxm 123lzxm deleted the add-suvp branch April 24, 2024 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants