it seems to be working 'as written', grep is not finding the ip, so it
returns rc=1 which ansible interprets as the task failing, you can use
ignore_errors or failed_when to bypass this 'failure' as you just seem
to care if the grep found something or not.



-- 
Brian Coca

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAJ5XC8muk8iD9tFj4fCuJjChZG7Fe8ps6ZfEi0MWoSfWmnfrBQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to