Fix reference to zuul logserver

Change I9d66adb53c0ad0e8ae506dce2454a1625f271c49 erroneously
referenced the log_path of the zuul_logserver hostvars entry,
however, zuul_logserver is a group to which we added the host
so that we didn't have to reference the hostname itself.  Look
up the log_path by derefencing the hostname from the groups
entry.

Change-Id: I0e02228ff592cdcc0b3a0df4f760b951485a9fce
This commit is contained in:
James E. Blair 2017-07-17 11:05:06 -07:00
parent cc0192bbc7
commit 4804ec07b7

View File

@ -29,4 +29,4 @@
zuul_return:
data:
zuul:
log_url: "http://logs.openstack.org/{{ hostvars['zuul_logserver']['log_path'] }}"
log_url: "http://logs.openstack.org/{{ hostvars[groups['zuul_logserver'][0]]['log_path'] }}"