threatstack / threatstack-ansible

Ansible for installing Threatstack Agent
https://www.threatstack.com
MIT License
23 stars 17 forks source link

Fix task failed_when checks for successful or skipped tasks #4

Closed jalaziz closed 9 years ago

jalaziz commented 9 years ago

If the task is successful or skipped, stderr is set to False, resulting in the error message Error was argument of type 'bool' is not iterable.

I have added a check to make sure stderr is available and I removed the setup_result number as it is no longer needed (since the result is checked at the individual task level).

jalaziz commented 9 years ago

@apollocatlin Has this been deployed to galaxy? It's still showing version 1.0.3 for me.

apollocatlin commented 9 years ago

It has been deployed to galaxy...https://galaxy.ansible.com/list#/roles/3018