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 nginx changed filter #10

Closed
flibbertigibbet opened this issue Nov 5, 2019 · 1 comment · Fixed by #11
Closed

Fix nginx changed filter #10

flibbertigibbet opened this issue Nov 5, 2019 · 1 comment · Fixed by #11

Comments

@flibbertigibbet
Copy link
Contributor

Running role on ansible 2.9.0 fails with: The conditional check 'nginx_delete_default_site | bool and delete_default_site | changed' failed. The error was: template error while templating string: no filter named 'changed'.

Changing to delete_default_site is changed works.

TASK [azavea.nginx : Delete default web root] ********************************** fatal: [app]: FAILED! => {"msg": "The conditional check 'nginx_delete_default_site | bool and delete_default_site | changed' failed. The error was: template error while templating string: no filter named 'changed'. String: {% if nginx_delete_default_site | bool and delete_default_site | changed %} True {% else %} False {% endif %}\n\nThe error appears to be in '/projects/cac-tripplanner/deployment/ansible/roles/azavea.nginx/tasks/main.yml': line 15, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Delete default web root\n ^ here\n"}
@Abdelhady
Copy link

Abdelhady commented Nov 26, 2019

I hope this would be merged soon, I had to downgrade Ansible itself to 2.8.6 to get around this issue.

flibbertigibbet added a commit that referenced this issue Jan 27, 2020
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 a pull request may close this issue.

2 participants