On Tue, 24 Dec 2019 00:44:21 -0800 (PST)
Karther <[email protected]> wrote:

> I want to know if possible display message with module *debug: msg="my 
> first message an color red"*

Yes. It's possible. Set "ok = red" in ansible.cfg or export
"ANSIBLE_COLOR_OK=red". See "COLOR_OK"
https://docs.ansible.com/ansible/latest/reference_appendices/config.html#color-ok
 
> I don't know if there is argument color: red or other argument for specify 
> only one task message is an color ....

No. There is no such argument. It's not possible to specify a color for one
task only. See "Callback Plugins"
https://docs.ansible.com/ansible/latest/plugins/callback.html#callback-plugins
https://github.com/ansible/ansible/tree/devel/lib/ansible/plugins/callback

Cheers,

        -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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20191224174416.5216d33e%40gmail.com.

Attachment: pgpI7BimVlkJ7.pgp
Description: OpenPGP digital signature

Reply via email to