#lun offline through ansible

1 messages · Page 1 of 1 (latest)

gusty monolith
#

Hi all, after some urgent help, is it possible to modify if a lun is offline or online through ansible module. I am running a 12 node upgrade at weekend and have lots of offline luns. need to bring them online ( not a problem ) before hand, then take them offline after upgrade finished. Through CLI, every command needs a confirmation of "y" so not possible through script so was looking at ansible to do this. I can do vol offline but cant find lun offline option in any module. otherwise its 70 manual commands and confirm, painful.

digital goblet
#

Doesn't answer your question but in case there's no actual answer; When in a pinch like this I've used this before to (temporarily) get rid of the confirmation question:
set -confirmation off