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
This commit is contained in:
James E. Blair 2017-09-09 07:54:36 -07:00
parent f49b525b3c
commit 9dd1fc9357
1 changed files with 1 additions and 0 deletions

View File

@ -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'),