Skip to content

ansible colours not printed #186

@yosefy

Description

@yosefy

the log is like this:

so
[0;32m is not changing anything
though
[1;32m prints bold green

so i am bit lost here

PLAY [all] *********************************************************************
Tuesday 26 February 2019  16:08:55 +0000 (0:00:00.257)       0:00:00.257 ****** 

TASK [Gathering Facts gather_subset=all, gather_timeout=20, _ansible_check_mode=False, _ansible_no_log=False, _ansible_debug=False, _ansible_diff=False, _ansible_verbosity=0, _ansible_version=2.7.7, _ansible_module_name=setup, _ansible_syslog_facility=LOG_USER, _ansible_selinux_special_fs=['fuse', 'nfs', 'vboxsf', 'ramfs', '9p'], _ansible_socket=None, _ansible_shell_executable=/bin/sh, _ansible_keep_remote_files=False, _ansible_tmpdir=None, _ansible_remote_tmp=~/.ansible/tmp] ***
�[0;32mok: [ansitest.pipl.com]�[0m
Tuesday 26 February 2019  16:08:59 +0000 (0:00:03.532)       0:00:03.789 ****** 

TASK [Ping _ansible_check_mode=False, _ansible_no_log=False, _ansible_debug=False, _ansible_diff=False, _ansible_verbosity=0, _ansible_version=2.7.7, _ansible_module_name=ping, _ansible_syslog_facility=LOG_USER, _ansible_selinux_special_fs=['fuse', 'nfs', 'vboxsf', 'ramfs', '9p'], _ansible_socket=None, _ansible_shell_executable=/bin/sh, _ansible_keep_remote_files=False, _ansible_tmpdir=None, _ansible_remote_tmp=~/.ansible/tmp] ***
�[0;32mok: [ansitest.pipl.com]�[0m

PLAY RECAP *********************************************************************
�[0;32mansitest.pipl.com�[0m          : �[0;32mok=2   �[0m changed=0    unreachable=0    failed=0   

Tuesday 26 February 2019  16:08:59 +0000 (0:00:00.245)       0:00:04.035 ****** 
=============================================================================== 
Gathering Facts --------------------------------------------------------- 3.53s
Ping -------------------------------------------------------------------- 0.25s
Playbook run took 0 days, 0 hours, 0 minutes, 3 seconds```


Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions