Skip to content

Conversation

@olivielpeau
Copy link
Member

Use a more conservative approach as to the existence of the changed
key.

This could be extended to all the keys that are used on dicts passed
to the callback (as afaik Ansible doesn't provide any guarantee of their
existence), but for now a case-by-case approach may be enough.

Use a more conservative approach as to the existence of the `changed`
key.

This could be extended to all the keys that are used on dicts passed
to the callback (as afaik Ansible doesn't provide any guarantee of their
existence), but for now a case-by-case approach may be enough.
@olivielpeau olivielpeau added the bug label Oct 1, 2015
olivielpeau added a commit that referenced this pull request Oct 1, 2015
…rror

Fix KeyError on `res` argument passed to `runner_on_ok`
@olivielpeau olivielpeau merged commit 941c70b into master Oct 1, 2015
@olivielpeau olivielpeau deleted the olivielpeau/fix-runner-on-ok-key-error branch October 1, 2015 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants