How about utilising vmware_maintenancemode’s state parameter?
Regards
Phil
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
ansible-proje...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/b3431c4f-4ce9-45f0-8cbc-2a7eea23dda3%40googlegroups.com.
How about utilising vmware_maintenancemode’s state parameter?
Regards
Phil
From: ansible...@googlegroups.com <ansible...@googlegroups.com> On Behalf Of phil....@gmail.com
Sent: 26 July 2019 14:38
To: Ansible Project <ansible...@googlegroups.com>
Subject: [ansible-project] Get VMWare Hypervisor Maintenance Mode state
I want to check if a VMWare Hypervisor (ESXi Host) is in Maintenance Mode or not. I've been through the docs for the various vmware_* modules but I can't see any which will return this value. Have I missed it or isn't this possible with Ansible?
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible...@googlegroups.com.
True, but you could use Check Mode (--check) to do a “dry-run” without actually making any changes though. Can’t help thinking there’s probably a better option, like you, but haven’t got time to look tbh.
Regards
Phil
To unsubscribe from this group and stop receiving emails from it, send an email to
ansible-proje...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/08d92798-cdf2-47a5-97b8-300a6016cb54%40googlegroups.com.