Created
October 26, 2015 12:25
-
-
Save ten0s/9ed2bd65b362e4defa50 to your computer and use it in GitHub Desktop.
TypeError: argument of type 'StrictUndefined' is not iterable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ansible template | |
template: src={{item}}.j2 dest=/etc/nginx/conf.d/{{item}} | |
with_items: | |
- server.conf | |
notify: Restart Nginx | |
fails with: | |
fatal: [test] => {'msg': "TypeError: argument of type 'StrictUndefined' is not iterable", 'failed': True} | |
Something is undefined inside the template |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment