Hello all,
I'm running into a persistent issue when following the blog steps.
ansible-inventory -i ./my.xen_orchestra.yaml --list
[WARNING]: * Failed to parse /home/cstreb/working/ansible/my.xen_orchestra.yaml with yaml plugin: Plugin configuration
YAML file, not YAML inventory
[WARNING]: * Failed to parse /home/cstreb/working/ansible/my.xen_orchestra.yaml with ini plugin: Invalid host pattern
'plugin:' supplied, ending in ':' is not allowed, this character is reserved to provide a port.
[WARNING]: Unable to parse /home/cstreb/working/ansible/my.xen_orchestra.yaml as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
contents of my.xen-orchestra.yaml file is as follows
plugin: community.general.xen_orchestra
api_host: 192.168.2.203 #(XOA box?) Needs :443?
user: <user>
password: <pass>
Other relevant details
I'm using XO from source running on a different machine then my xcp-ng
This is my first time trying ansible at all so I may have missed a key step. Any help is appreciated.
EDIT: Fixed
Because I haven't forced HTTPS on my XO from Source box I needed to tell the file to configure to http (80)
then add the following arguments to the end of my file
validate_certs: false
use_ssl: false
it now works.