mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Change cow path selection variable from COWPATH to COW_PATH (#34063)
For consistency with other cow-related options, such as `ANSIBLE_COW_SELECTION`, add an underscore to the new `ANSIBLE_COWPATH` option.
This commit is contained in:
@@ -101,8 +101,8 @@ class Display:
|
||||
if C.ANSIBLE_NOCOWS:
|
||||
return
|
||||
|
||||
if C.ANSIBLE_COWPATH:
|
||||
self.b_cowsay = C.ANSIBLE_COWPATH
|
||||
if C.ANSIBLE_COW_PATH:
|
||||
self.b_cowsay = C.ANSIBLE_COW_PATH
|
||||
else:
|
||||
for b_cow_path in b_COW_PATHS:
|
||||
if os.path.exists(b_cow_path):
|
||||
|
||||
Reference in New Issue
Block a user