Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always getting an error "The task includes an option with an undefined variable" #14

Open
Bleala opened this issue Aug 3, 2021 · 3 comments

Comments

@Bleala
Copy link

Bleala commented Aug 3, 2021

Hello there,

i'm always getting an error, when installing with ansible.

fatal: [192.168.188.78]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'path'\n\nThe error appears to be in '/root/ansible/room-assistant/roles/room-assistant/tasks/main.yml': line 38, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n register: find_node\n- name: Set node capabilities\n ^ here\n"}

Do you have an idea what the issue is here?

Greetings

@mKeRix
Copy link
Owner

mKeRix commented Aug 5, 2021

Hm - both the steps around that line contain path settings, but one of them is set to be the output from something else. Maybe that's the cause of the issue? If you log into your machine, do you have any file under /usr/bin/node?

@Bleala
Copy link
Author

Bleala commented Aug 6, 2021

@mKeRix i looked it up and yes, i have the node file in /usr/bin/node

Installed npm and nodejs correctly and it's working, so i don't know why the ansible install fails :/

@Bleala
Copy link
Author

Bleala commented Aug 12, 2021

@mKeRix do you have another idea what i could try?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants