Now we have a specific ansible role for that:
Nice to see this Simone, thanks.
I'm reading the info to try on an hosted engine setup and find this:
"
This role has be designed to be run only against the machine where ovirt-engine is running.
"
Does it mean that I have to run the ansible-playbook command from an external server and use as host in inventory the engine server, or does it mean that the ansible-playbook command is to be run from within the server where the ovirt-engine service is running and so keep intact the lines inside the smple yal file:
"
- name: oVirt shutdown environment
hosts: localhost
connection: local
"