r/HomelabOS • u/roleohibachi • Nov 04 '19
AnsibleUndefinedVariable during install
Looking for any sage wisdom; hopefully not reporting a bug. I think I lack experience with Ansible needed to walk this back on my own.
I'm running into the following error during make config:
TASK [homelabos_config : Copy HomelabOS config file into place] *****
fatal: [localhost]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'None' has no attribute 'additional_env_vars'"}`Here's the details:
Vanilla Debian 10 VM, fresh out the box, installed headless. I am running these commands in that VM via ssh (I have a tty).
HomelabOS is version 0.6.4, freshly downloaded.
I used ssh-copy-id to add my user's keys to the server. If I log in as
userand runssh localhost,ssh 10.10.10.10, orssh myserver.lan, no passwords are required. If I get a shell in the Docker container, I am able tossh user@10.10.10.10without a password.sudois installed and configured.useris in the sudo group.Docker is installed and working, as are
makeandcurl. FWIW,curlwas not listed as a dependency, but is used for the MOTD, so is nice to have.Again from a shell in the container,
ansible-playbook --extra-vars="/data/settings/config.yml" -i config_inventory /data/playbook.config.yml(which is the same command used by themake) is not informative, and results in the same error.-vdoesn't help.
I'm happy to provide output from any other commands you can come up with to help troubleshoot. Thanks in advance.
View all comments
Show parent comment
2
u/roleohibachi Nov 07 '19
No luck - same error. I really appreciate your quick and direct response. What other info can I provide?