mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
VMware: check for ESXi server while creating user (#33061)
This fix check for ESXi server instance before proceeding with managing local user. Also, adds integration tests for this change. Fixes: #32465 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
31510259f6
commit
29d3505cb4
10 changed files with 183 additions and 24 deletions
|
@ -48,4 +48,4 @@
|
|||
- name: make sure no changes were made
|
||||
assert:
|
||||
that:
|
||||
- "poweroff_d1_c1_f0.results|map(attribute='changed')|unique|list == [False]"
|
||||
- "poweroff_d1_c1_f0.results|map(attribute='changed')|unique|list == [True]"
|
||||
|
|
|
@ -59,4 +59,4 @@
|
|||
- name: make sure no changes were made
|
||||
assert:
|
||||
that:
|
||||
- "poweroff_d1_c1_f1.results|map(attribute='changed')|unique|list == [False]"
|
||||
- "poweroff_d1_c1_f1.results|map(attribute='changed')|unique|list == [True]"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue