Re: [ansible-project] ansible ignore_errors: yes

2020-01-14 Thread alicia
For more information on controlling what Ansible sees as a failure and how it 
responds, see 

https://docs.ansible.com/ansible/devel/user_guide/playbooks_error_handling.html 


Hope this helps,
Alicia

> On Jan 14, 2020, at 10:57 AM, Vladimir Botka  wrote:
> 
> On Tue, 14 Jan 2020 08:30:49 -0800 (PST)
> Karther  wrote:
> 
>> I would like to know if possible there is a parameter same ignore_errors 
>> but not display on screen message error in red …
> 
> Use 'rescue' section. See "Blocks error handling"
> https://docs.ansible.com/ansible/latest/user_guide/playbooks_blocks.html#blocks-error-handling
> 
> It's possible to 'clear_host_errors' and 'end host' gracefully. See "meta"
> https://docs.ansible.com/ansible/latest/modules/meta_module.html#meta-execute-ansible-actions
> 
> HTH
> 
>   -vlado
> 
> -- 
> 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 ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/20200114175744.0fa9ea83%40gmail.com.

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/E3647189-3F45-47CE-9FAA-61ED90893160%40redhat.com.


Re: [ansible-project] ansible ignore_errors: yes

2020-01-14 Thread Vladimir Botka
On Tue, 14 Jan 2020 08:30:49 -0800 (PST)
Karther  wrote:

> I would like to know if possible there is a parameter same ignore_errors 
> but not display on screen message error in red ...

Use 'rescue' section. See "Blocks error handling"
https://docs.ansible.com/ansible/latest/user_guide/playbooks_blocks.html#blocks-error-handling

It's possible to 'clear_host_errors' and 'end host' gracefully. See "meta"
https://docs.ansible.com/ansible/latest/modules/meta_module.html#meta-execute-ansible-actions

HTH

-vlado

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20200114175744.0fa9ea83%40gmail.com.


pgpMox9pexEGa.pgp
Description: OpenPGP digital signature


[ansible-project] ansible ignore_errors: yes

2020-01-14 Thread Karther
Hey community Ansible !! :)


I would like to know if possible there is a parameter same ignore_errors 
but not display on screen message error in red ...

The problem with *ignore_errors: yes*   is that when there is one error in 
this task, the message error is display in red ...

Can you help me please !!! ^_^

Thanks you very much community Ansible !! :)

Best regards,

Karther

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/03de4f5a-5f22-415f-bbfe-56f07e230485%40googlegroups.com.