Commit 26bbac30 by Michael DeHaan

Merge pull request #1246 from jpmens/nocows

Not for cow lovers: optionally disable cowsay
parents 323cbdaf 051f66cf
......@@ -32,6 +32,8 @@ if os.path.exists("/usr/bin/cowsay"):
cowsay = "/usr/bin/cowsay"
elif os.path.exists("/usr/games/cowsay"):
cowsay = "/usr/games/cowsay"
if os.getenv("ANSIBLE_NOCOWS") is not None:
cowsay = None
def call_callback_module(method_name, *args, **kwargs):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment