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:
Tobias Henkel 2018-03-27 16:09:21 +02:00
parent 9141ae5a45
commit 8bc5174573
No known key found for this signature in database
GPG Key ID: 03750DEC158E5FA2
1 changed files with 1 additions and 1 deletions

View File

@ -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: