summaryrefslogtreecommitdiff
path: root/bin/ansible-pull
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-01-30 15:55:37 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2015-01-30 15:55:37 +0100
commit773849d421f8e2937f45153fa32399b33414414c (patch)
treec732af1afb58abd0be51437886636b7c872fbcbd /bin/ansible-pull
parent7ab95e10f0083b42742b168908488be8b49ea6b3 (diff)
downloadansible-773849d421f8e2937f45153fa32399b33414414c.tar.gz
Only write actual errors to stderr
Diffstat (limited to 'bin/ansible-pull')
-rwxr-xr-xbin/ansible-pull4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ansible-pull b/bin/ansible-pull
index 2d91324315..67b969fdae 100755
--- a/bin/ansible-pull
+++ b/bin/ansible-pull
@@ -151,7 +151,7 @@ def main(args):
return 1
now = datetime.datetime.now()
- print >>sys.stderr, now.strftime("Starting ansible-pull at %F %T")
+ print now.strftime("Starting ansible-pull at %F %T")
# Attempt to use the inventory passed in as an argument
# It might not yet have been downloaded so use localhost if note
@@ -194,7 +194,7 @@ def main(args):
if rc != 0:
if options.force:
- print "Unable to update repository. Continuing with (forced) run of playbook."
+ print >>sys.stderr, "Unable to update repository. Continuing with (forced) run of playbook."
else:
return rc
elif options.ifchanged and '"changed": true' not in out: