-
Notifications
You must be signed in to change notification settings - Fork 387
Open
Description
Aiming at upgrading Ubuntu / python / Django and else, I'm back using this good playbook. However when running it 'as is' against a VM/Vagrant box, I got following error:
TASK [db : Ensure database is created] ***************************************
task path: ./roles/db/tasks/main.yml:35
fatal: [my-cool-app.local]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'db_name' is undefined. 'db_name' is undefined
The error appears to be in '/home/jpmerx/dev/ansible-django-stack/roles/db/tasks/main.yml': line 35, column 3, but maybe elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:\n\n\n- name: Ensure database is created\n ^ here"}
I imagine that the root cause is that group_vars/vagrant/vars.yml
variables are not taken into account.
However, I don't know why. Is there some specific thing that I have to manage on my side? Or is this a bug/regression? If the last point is true, then I can volunteer to fix it.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels