mirror of https://github.com/ceph/ceph-ansible.git
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
parent
3a07568496
commit
a4ad2eb27f
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue