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

Fix deploy env template to use valid ansible vars #530

Merged
merged 1 commit into from Mar 26, 2016
Merged

Fix deploy env template to use valid ansible vars #530

merged 1 commit into from Mar 26, 2016

Conversation

henkler
Copy link
Contributor

@henkler henkler commented Mar 26, 2016

When running deploy.sh, ansible fails with an error similar to the following:

failed: [staging.example.com] => (item={u'dest': u'.env', u'src': u'roles/deploy/templates/env.j2', u'name': u'.env config'}) => {"failed": true, "item": {"dest": ".env", "name": ".env config", "src": "roles/deploy/templates/env.j2"}, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'value'"}

It apepars that PR #528 introduced an error with some invalid ansible keys. This should fix them.

Thanks to @fullyint for helping with Ansible conventions. I'm new to Trellis (and Ansible), and you make it easy!

@fullyint fullyint merged commit 0bfdfc8 into roots:master Mar 26, 2016
@fullyint
Copy link
Contributor

Thank you @henkler !

fullyint added a commit to fullyint/trellis that referenced this pull request Mar 26, 2016
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

Successfully merging this pull request may close these issues.

2 participants