validate: be more explicit with error msg when notario isn't installed

This error message may be confusing and need to be more explicit on
where you have to install notario, indeed, people may think this library
must be installed on configured nodes while it must be installed on the
node you are running the playbook.

Fixes: #2649

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/2751/head
Guillaume Abrioux 2018-06-11 10:16:26 +02:00 committed by Sébastien Han
parent 3a07568496
commit a4ad2eb27f
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ except ImportError:
try: try:
import notario import notario
except ImportError: except ImportError:
msg = "The python-notario library is missing. Please install it to continue." msg = "The python-notario library is missing. Please install it on the node you are running ceph-ansible to continue."
display.error(msg) display.error(msg)
raise SystemExit(msg) raise SystemExit(msg)