mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-12 19:34:02 -07:00
These fields are booleans.
This commit is contained in:
parent
633abca916
commit
baffa8df72
3 changed files with 7 additions and 7 deletions
|
@ -20,7 +20,7 @@ import sys
|
|||
import constants
|
||||
|
||||
ANSIBLE_COLOR=True
|
||||
if constants.ANSIBLE_NOCOLOR is not None:
|
||||
if constants.ANSIBLE_NOCOLOR:
|
||||
ANSIBLE_COLOR=False
|
||||
elif not hasattr(sys.stdout, 'isatty') or not sys.stdout.isatty():
|
||||
ANSIBLE_COLOR=False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue