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" # ****************************************************************************