I have a terminal set to white on black, ansible-lint warnings are black on black, I have this in ansible.cfg to fix an issue like this with Ansible itself:
[colors]
debug = blue
But I can’t work out how to set the ansible-lint warning colour, can someone explain how this can be done?
I couldn’t either, apart from --force-color which is handy for places where a non-interactive terminal is detected and you want colour, for example with GitLab CI.
ansible-lint --help | grep color
[--enable-list ENABLE_LIST] [--nocolor] [--force-color]
--nocolor disable colored output, same as NO_COLOR=1
--force-color Force colored output, same as FORCE_COLOR=1
So perhaps I should raise an issue at GitHub as a feature request?