Some changes: * Many new modules, sorted in the following subdirs: cloud commands database files internal inventory messaging monitoring net_infrastructure network notification packaging source_control system utilities web_infrastructure * accelerated mode: An enhanced fireball mode that requires zero bootstrapping and fewer requirements plus adds capabilities like sudo commands * Connection default is now "smart", which discovers if the system openssh can support ControlPersist, and uses it if so, if not falls back to paramiko * external inventory scripts may now return host variables in one pass, which allows them to be much more efficient for large numbers of hosts (AWS!) * "~" now expanded on each component of configured plugin paths * Countless feature enhancements and bugfixes For a full list, see https://github.com/ansible/ansible/blob/devel/CHANGELOG.md
16 lines
690 B
Python
16 lines
690 B
Python
$NetBSD: patch-lib_ansible_callbacks.py,v 1.3 2013/12/02 22:54:46 hubertf Exp $
|
|
|
|
--- lib/ansible/callbacks.py.orig 2013-11-19 19:12:32.000000000 +0000
|
|
+++ lib/ansible/callbacks.py
|
|
@@ -55,9 +55,9 @@ def get_cowsay_info():
|
|
cowsay = "/usr/bin/cowsay"
|
|
elif os.path.exists("/usr/games/cowsay"):
|
|
cowsay = "/usr/games/cowsay"
|
|
- elif os.path.exists("/usr/local/bin/cowsay"):
|
|
+ elif os.path.exists("@LOCALBASE@/bin/cowsay"):
|
|
# BSD path for cowsay
|
|
- cowsay = "/usr/local/bin/cowsay"
|
|
+ cowsay = "@LOCALBASE@/bin/cowsay"
|
|
elif os.path.exists("/opt/local/bin/cowsay"):
|
|
# MacPorts path for cowsay
|
|
cowsay = "/opt/local/bin/cowsay"
|