summaryrefslogtreecommitdiff
path: root/bin/ansible-galaxy
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ansible-galaxy')
-rwxr-xr-xbin/ansible-galaxy3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ansible-galaxy b/bin/ansible-galaxy
index 7732c79a..536964e2 100755
--- a/bin/ansible-galaxy
+++ b/bin/ansible-galaxy
@@ -1229,6 +1229,9 @@ class GalaxyCLI(CLI):
if remote_data:
role_info.update(remote_data)
+ else:
+ data = u"- the role %s was not found" % role
+ break
elif context.CLIARGS['offline'] and not gr._exists:
data = u"- the role %s was not found" % role