Closed pshanbhag closed 4 years ago
Using failed as a jinja2 filter is deprecated as Ansible 2.5 (current latest version is 2.9). It is noticed that using it as a filter is leading to failures on certain setups. Move to using the new way of using failed as a test instead.
See more details here: https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_2.5.html?highlight=failed#deprecated
Also, some minor cleanup/fixes.
@pshanbhag good find, I ran into this on Thursday and was about to look into it as well.
Using failed as a jinja2 filter is deprecated as Ansible 2.5 (current latest version is 2.9). It is noticed that using it as a filter is leading to failures on certain setups. Move to using the new way of using failed as a test instead.
See more details here: https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_2.5.html?highlight=failed#deprecated
Also, some minor cleanup/fixes.