Switch implicit role not found message to debug
When a playbook repo doesn't have a /roles dir zuul logs message [1]. This message is misleading and confuses new users so switch that to debug. [1] Log: Implicit role not found in /tmp/e2eb07ed1de94800b3b144060762000d/ansible/playbook_0/role_1/zuul-base-jobs Implicit role not found in /tmp/e2eb07ed1de94800b3b144060762000d/ansible/post_playbook_0/role_0/zuul-base-jobs Change-Id: Ie6956d9839343be909dd4b0b6038591d4d3569ac
This commit is contained in:
parent
9141ae5a45
commit
8bc5174573
|
@ -1232,7 +1232,7 @@ class AnsibleJob(object):
|
||||||
role_path = self.findRole(link, trusted=jobdir_playbook.trusted)
|
role_path = self.findRole(link, trusted=jobdir_playbook.trusted)
|
||||||
except RoleNotFoundError:
|
except RoleNotFoundError:
|
||||||
if role['implicit']:
|
if role['implicit']:
|
||||||
self.log.info("Implicit role not found in %s", link)
|
self.log.debug("Implicit role not found in %s", link)
|
||||||
return
|
return
|
||||||
raise
|
raise
|
||||||
if role_path is None:
|
if role_path is None:
|
||||||
|
|
Loading…
Reference in New Issue