mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix cowsay! Moo.
This commit is contained in:
parent
edb7a054ae
commit
8c3abe7e52
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,8 @@ for i in C.DEFAULT_CALLBACK_PLUGIN_PATH.split(os.pathsep):
|
||||||
cowsay = None
|
cowsay = None
|
||||||
if os.getenv("ANSIBLE_NOCOWS") is not None:
|
if os.getenv("ANSIBLE_NOCOWS") is not None:
|
||||||
cowsay = None
|
cowsay = None
|
||||||
|
elif os.path.exists("/usr/bin/cowsay"):
|
||||||
|
cowsay = "/usr/bin/cowsay"
|
||||||
elif os.path.exists("/usr/games/cowsay"):
|
elif os.path.exists("/usr/games/cowsay"):
|
||||||
cowsay = "/usr/games/cowsay"
|
cowsay = "/usr/games/cowsay"
|
||||||
elif os.path.exists("/usr/local/bin/cowsay"):
|
elif os.path.exists("/usr/local/bin/cowsay"):
|
||||||
|
|
Loading…
Reference in a new issue