Skip to content
New issue

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

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

Already on GitHub? # to your account

Support for Ansible 2.x #2

Open
WerlingM opened this issue Jan 13, 2016 · 0 comments
Open

Support for Ansible 2.x #2

WerlingM opened this issue Jan 13, 2016 · 0 comments

Comments

@WerlingM
Copy link
Member

When provisioning the server with Ansible 2.0.0.1 installed I get an error:
TASK [web : Run Django database migrations] ************************************ [DEPRECATION WARNING]: Using bare variables for environment is deprecated. Update your playbooks so that the environment value uses the full variable syntax ('{{foo}}'). This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. fatal: [default]: FAILED! => {"failed": true, "msg": "ERROR! environment must be a dictionary, received django_environment (<class 'ansible.parsing.yaml.objects.AnsibleUnicode'>)"}

RUNNING HANDLER [memcached : restart memcached] ********************************

Rolling back to Ansible 1.9.4 (pip install "ansible==1.9.4) fixes the issue.

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

No branches or pull requests

1 participant