From 8c3abe7e520d5be41e6b88bae1866d4fb418778b Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Tue, 16 Oct 2012 20:00:53 -0400 Subject: [PATCH] Fix cowsay! Moo. --- lib/ansible/callbacks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/callbacks.py b/lib/ansible/callbacks.py index f5dc081c56..b8b8e9d47e 100644 --- a/lib/ansible/callbacks.py +++ b/lib/ansible/callbacks.py @@ -35,6 +35,8 @@ for i in C.DEFAULT_CALLBACK_PLUGIN_PATH.split(os.pathsep): cowsay = None if os.getenv("ANSIBLE_NOCOWS") is not None: cowsay = None +elif os.path.exists("/usr/bin/cowsay"): + cowsay = "/usr/bin/cowsay" elif os.path.exists("/usr/games/cowsay"): cowsay = "/usr/games/cowsay" elif os.path.exists("/usr/local/bin/cowsay"):