-
-
Notifications
You must be signed in to change notification settings - Fork 140
Variable homebrew_uninstalled_packages
is undefined
#66
Comments
homebrew_uninstalled_packages
is not definedhomebrew_uninstalled_packages
is undefined
IIRC, Ansible 2.0+ dislikes undefined variables, which seems to obviate the |
There's another way of defining that |
Thanks for the quick responses and feedback. I've determined the root cause of the failed task; the However, IMO the better solution is to uncomment the line in
I've submitted PR #67 with my proposed fix. Thank you for your time. |
Fixed in above PR! |
I think this is a bug, but I'm not sure if it's something with my particular ansible configuration (default) or what. Based on commits 50c72f2 and b5bb8f5, I can't tell whether it's just me getting this error or not.
In my existing and new playbooks dependent on this role, I MUST define the variable
homebrew_uninstalled_packages: []
else I get the error above.Anyways, the simple fix is to uncomment the
homebrew_uninstalled_packages
variable indefaults/main.yml
. I'm just unsure if there was a reason for commenting it out in the first place.Let me know if you need any further details. Thanks.
The text was updated successfully, but these errors were encountered: