clarified warning from tree callback

pull/13488/head
Brian Coca 9 years ago
parent c1cec64aa8
commit 0719eb3e2d

@ -42,7 +42,7 @@ class CallbackModule(CallbackBase):
self.tree = TREE_DIR self.tree = TREE_DIR
if not self.tree: if not self.tree:
self.tree = os.path.expanduser("~/.ansible/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): def write_tree_file(self, hostname, buf):
''' write something into treedir/hostname ''' ''' write something into treedir/hostname '''

Loading…
Cancel
Save