From 14fb4383f3679f7bfb885de1169a32d794430144 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 22 Apr 2015 23:11:02 -0400 Subject: [PATCH] now uses display.error --- v2/bin/ansible | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2/bin/ansible b/v2/bin/ansible index 8966b4bc65..b4f651ffda 100755 --- a/v2/bin/ansible +++ b/v2/bin/ansible @@ -183,8 +183,8 @@ if __name__ == '__main__': (options, args) = cli.parse() sys.exit(cli.run(options, args)) except AnsibleError as e: - display.display("[ERROR]: %s" % e, color='red', stderr=True) + display.error(str(e)) sys.exit(1) except KeyboardInterrupt: - display.display("[ERROR]: interrupted", color='red', stderr=True) + display.error("interrupted") sys.exit(1)