You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PLAY [all] ********************************************************************
GATHERING FACTS ***************************************************************
ok: [127.0.0.1]
TASK: [template src=/dev/null dest=/dev/null] *********************************
fatal: [127.0.0.1] => an unexpected type error occurred. Error was Undefined is not JSON serializable
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/Users/redacted/playbook.retry
127.0.0.1 : ok=1 changed=0 unreachable=1 failed=0
The text was updated successfully, but these errors were encountered:
We believe the above commit should resolve this problem for you. This will also be included in the next major release.
If you continue seeing any problems related to this issue, or if you have any further questions, please let us know by stopping by one of the two mailing lists, as appropriate:
Because this project is very active, we're unlikely to see comments made on closed tickets, but the mailing list is a great way to ask questions, or post if you don't think this particular issue is resolved.
Hi, and thanks for the quick fix. Unfortunately, while it does fix the test case I had put together for this, our playbook is still broken with latest HEAD. I've submitted a new issue at #9684. Thanks again!
Issue Type:
Bug Report
Ansible Version:
1.8.0 (bug introduced by f1267c0#diff-af869caf5f6f46706dbf35970e39c686R1166)
Environment:
N/A
Summary:
Can't rely anymore on extra variables being present when host variables are evaluated.
Steps To Reproduce:
Run the playbook in https://gist.github.com/jscheid/fac33da8580ad1880606
More generally:
to_json
to an extra variabletemplate
actionExpected Results:
Extra variables should always be set when host variables are being evaluated.
Output with 716f3eb:
Actual Results:
Extra variables aren't always set when host variables are being evaluated.
Output with f1267c0:
The text was updated successfully, but these errors were encountered: