Add node label to inventory

This is needed for (at least) the log processor jobs which communicate
information about what labels are used.

Change-Id: I20dc54fcd56c3dfebabe4b7900ac06b729582a83
changes/48/502248/1
James E. Blair 5 years ago
parent f49b525b3c
commit 9dd1fc9357
  1. 1
      zuul/executor/server.py

@ -1162,6 +1162,7 @@ class AnsibleJob(object):
ansible_user=self.executor_server.default_username,
ansible_port=port,
nodepool=dict(
label=node.get('label'),
az=node.get('az'),
cloud=node.get('cloud'),
provider=node.get('provider'),

Loading…
Cancel
Save