Ansible, lxd error when installing XRoad: Attribute Error: NoneType has no attribute "items" lead to lxd_container.py
I was trying to install XRoad using ansible and LXD with these steps:
Sudo snap install lxdlxd init$ sudo apt update$ sudo apt install software-properties-common$ sudo add-apt-repository --yes --update ppa:ansible/ansible$ sudo apt install ansibleansible-playbook hosts -i hosts/lxd_hosts.txt xroad_init.yml
I got this error: Attribute Error: NoneType has no attribute "items" leading to lxd_container.py
ansible-loop-var item: xroad-lxd-cs
Localhost ok=1 failed=1
First time i was doing nearly exact same steps i didnt get any error. Now i tried installing Xroad on a different VM (Ubuntu), i got this error.
Thanks for any help
I tried:
Reinstalling lxd, ansible (to different versions)
Installing python 3.12
Apt update + upgrade
Change from Bridged to NAT
Reinstalling Ubuntu Installing different versions of Xroad
Images of error: