Browse Source

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
changes/66/556866/1
Tobias Henkel 3 years ago
parent
commit
8bc5174573
No known key found for this signature in database GPG Key ID: 3750DEC158E5FA2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      zuul/executor/server.py

+ 1
- 1
zuul/executor/server.py View File

@ -1232,7 +1232,7 @@ class AnsibleJob(object):
role_path = self.findRole(link, trusted=jobdir_playbook.trusted)
except RoleNotFoundError:
if role['implicit']:
self.log.info("Implicit role not found in %s", link)
self.log.debug("Implicit role not found in %s", link)
return
raise
if role_path is None:


Loading…
Cancel
Save