You should not use ansible to connect to each and every host and try to turn it off. That’s a load of overhead and there is no way to turn them back on again later.
Instead, use ansible to connect to the openstack cluster and switch off hosts from there, for instance with
Thank you very much for your help & advise.
may I ask you if you can help me with just some example or tutoriel, as I’m new and any assistance is highly appreciated.
if possible we can try to discuss further on slack or hangout…