clarified warning from tree callback

This commit is contained in:
Brian Coca 2015-12-09 06:32:04 -08:00
parent c1cec64aa8
commit 0719eb3e2d

View file

@ -42,7 +42,7 @@ class CallbackModule(CallbackBase):
self.tree = TREE_DIR
if not self.tree:
self.tree = os.path.expanduser("~/.ansible/tree")
self._display.warning("Defaulting to ~/.ansible/tree, invalid directory provided to tree option: %s" % self.tree)
self._display.warning("The tree callback is defaulting to ~/.ansible/tree, as an invalid directory was provided: %s" % self.tree)
def write_tree_file(self, hostname, buf):
''' write something into treedir/hostname '''