Skip to content

Conversation

@yogo1212
Copy link
Contributor

@yogo1212 yogo1212 commented Apr 7, 2018

this message popped up during execution:

fatal: [host]: FAILED! => {"msg": "The conditional check ''failed' in keyrc and 'getpwnam' not in keyrc.msg' failed. The error was: error while evaluating conditional ('failed' in keyrc and 'getpwnam' not in keyrc.msg): Unable to look up a name or access an attribute in template string ({% if 'failed' in keyrc and 'getpwnam' not in keyrc.msg %} True {% else %} False {% endif %}).\nMake sure your variable name does not contain invalid characters like '-': argument of type 'StrictUndefined' is not iterable"}

kind regards

@antonu17
Copy link

Would be very nice to get this PR merged.
@ahelal could you have a chance to take a look at it?

@ahelal ahelal merged commit e9ae542 into AutomationWithAnsible:master Jan 21, 2019
@yogo1212 yogo1212 deleted the failed_syntax branch January 21, 2019 12:14
@yogo1212
Copy link
Contributor Author

yogo1212 commented Jan 21, 2019

@antonu17 @ahelal may i draw your attention to this PR?
#27
iteritems was removed in python3:
https://docs.python.org/3.1/whatsnew/3.0.html#views-and-iterators-instead-of-lists
or in other words: 7 years ago!

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.

3 participants