Hello, ovirt ansible modules have insecure parameter in auth.
See definition here
https://docs.ansible.com/ansible/latest/collections/ovirt/ovirt/ovirt_vm_...
Best regards
Lucie
On 4/20/22 18:11, fs3000--- via Users wrote:
Hello guys,
So i read in the documentation that managing VMs is not done with ovirt-shell anymore,
ansible should be used instead. Ansible can manage VMs via modules, connecting to the
Manager VM. However, how can i start the Manager VM itself, if it stopped? (it just
happened to me) Catch 22 problem :)
Anyway, i tried using the ovirt_vm_info modulei in ansible, but it resulted in an error,
because the web interface is running with a self signed certificate, configured by the
engine setup:
"
An exception occurred during task execution. To see the full traceback, use -vvv. The
error was: ovirtsdk4.Error: Error while sending HTTP request: (60, 'SSL certificate
problem: self signed certificate in certificate chain')
fatal: [192.168.0.200]: FAILED! => {"changed": false, "msg":
"Error while sending HTTP request: (60, 'SSL certificate problem: self signed
certificate in certificate chain')"}
"
I know this is a curl error. In the shell, the option -k or --insecure can be used. How
to use that option in the ansible module?
Thanks in advance for any pointers on this!
_______________________________________________
Users mailing list --users(a)ovirt.org
To unsubscribe send an email tousers-leave(a)ovirt.org
Privacy
Statement:https://www.ovirt.org/privacy-policy.html
oVirt Code of
Conduct:https://www.ovirt.org/community/about/community-guidelines/
List
Archives:https://lists.ovirt.org/archives/list/users@ovirt.org/message/E2...
--
Lucie Leistnerova
Associate Manager, Quality Engineering, RHV - QE Core & Tools
GChat: lleistne @ Virtualization <
https://chat.google.com/room/AAAA7lwAJb4>
Red Hat EMEA <
https://www.redhat.com>