From bf3d546d9a48cf5391a91002733d4a6ea62b1a0c Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Wed, 12 Oct 2016 09:58:11 -0700 Subject: [PATCH] Only dispkay failure to use cryptography at a higher verbosity Fixes #17982 --- lib/ansible/parsing/vault/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/parsing/vault/__init__.py b/lib/ansible/parsing/vault/__init__.py index 9cc0b5e2a8..e86889ddc3 100644 --- a/lib/ansible/parsing/vault/__init__.py +++ b/lib/ansible/parsing/vault/__init__.py @@ -83,9 +83,9 @@ try: except ImportError: pass except Exception as e: - display.warning("Optional dependency 'cryptography' raised an exception, falling back to 'Crypto'") + display.vvvv("Optional dependency 'cryptography' raised an exception, falling back to 'Crypto'.") import traceback - display.debug("Traceback from import of cryptography was {0}".format(traceback.format_exc())) + display.vvvv("Traceback from import of cryptography was {0}".format(traceback.format_exc())) HAS_ANY_PBKDF2HMAC = HAS_PBKDF2 or HAS_PBKDF2HMAC