Closed ntwyman closed 7 months ago
I faced the same "issue". However, when looking at the YAML inventory description in the ansible documentation, there are trailing colons at the end of the host definitions, so in your case
k3s_cluster:
children:
server:
hosts:
10.10.0.91:
agent:
hosts:
10.10.0.95:
10.10.0.94:
will work. We should update the README and the example though.
Yup that's it - thanks.
My inventory file
When I run this
I get
If I run this with just one agent host IP (either one) it works fine. Seems to be incorrectly parsing the yaml file. For reference