From 81a34c2d1da94be2621196fc1b3bd5d03f464126 Mon Sep 17 00:00:00 2001 From: Jimmy Tang Date: Fri, 1 Mar 2013 16:51:13 +0000 Subject: [PATCH] Cowsay on OSX macports --- lib/ansible/callbacks.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ansible/callbacks.py b/lib/ansible/callbacks.py index 3e72ece77c..8d25333ef2 100644 --- a/lib/ansible/callbacks.py +++ b/lib/ansible/callbacks.py @@ -33,6 +33,9 @@ elif os.path.exists("/usr/games/cowsay"): elif os.path.exists("/usr/local/bin/cowsay"): # BSD path for cowsay cowsay = "/usr/local/bin/cowsay" +elif os.path.exists("/opt/local/bin/cowsay"): + # MacPorts path for cowsay + cowsay = "/opt/local/bin/cowsay" # ****************************************************************************