mirror of https://github.com/ansible/ansible.git
VMware: Check dvswitch presence before accessing it (#60052)
Check if dvswitch object is not None before accessing it's properties such as UUID. This can be due to two reason 1. Permission issues 2. There is no association between given distributed virtual portgroup distributed virtual switch Fixes: #59952 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>pull/60097/head
parent
b101fda4c6
commit
2a1393e0e1
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- Check dvs in the given portgroup before accessing any properties of dvs (https://github.com/ansible/ansible/issues/59952). This can be due to permission issue or no association between distributed virtual portgroup and dvswitch.
|
Loading…
Reference in New Issue