diff options
Diffstat (limited to 'lib/ansible/utils/display.py')
-rw-r--r-- | lib/ansible/utils/display.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/utils/display.py b/lib/ansible/utils/display.py index a372b69108..e268a63c9f 100644 --- a/lib/ansible/utils/display.py +++ b/lib/ansible/utils/display.py @@ -226,8 +226,8 @@ class Display(with_metaclass(Singleton, object)): cmd = subprocess.Popen([self.b_cowsay, "-l"], stdout=subprocess.PIPE, stderr=subprocess.PIPE) (out, err) = cmd.communicate() self.cows_available = set([to_text(c) for c in out.split()]) - if C.ANSIBLE_COW_WHITELIST and any(C.ANSIBLE_COW_WHITELIST): - self.cows_available = set(C.ANSIBLE_COW_WHITELIST).intersection(self.cows_available) + if C.ANSIBLE_COW_ACCEPTLIST and any(C.ANSIBLE_COW_ACCEPTLIST): + self.cows_available = set(C.ANSIBLE_COW_ACCEPTLIST).intersection(self.cows_available) except Exception: # could not execute cowsay for some reason self.b_cowsay = False |