Ansible Version: ansible 2.9.4 config file = /etc/ansible/ansible.cfg configured module search path = [u'/home/gobi/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /home/gobi/.local/lib/python2.7/site-packages/ansible executable location = /home/gobi/.local/bin/ansible python version = 2.7.17 (default, Nov 7 2019, 10:07:09) [GCC 7.4.0]
COMPONENT NAME debug Summary: While running git status or any other commands, the deleted and marked files are shown in red or any other colours. When trying to store the results of the commands in a register and print the values using debug module \u001b[31m or any other ANSI code will append to the result. The debug will print the result in default green colour, maybe this is the reason for this issue. How can be \u001b[31m these are avoided? In my terminal normal git status command: image using shell: git status register: temp_reg debug: msg="{{temp_reg.stdout_lines}} image -- 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/ba1c86d8-5dfd-4625-bf90-c5b6846f8164%40googlegroups.com.