Yes, when I set ignore_errys the tasks work properly. Thanks! On Wednesday, August 26, 2015 at 5:06:54 PM UTC+3, Brian Coca wrote: > > 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/8cad9255-589d-4c92-8d35-7330d60c8dcd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
