Use delegate_to for the zuul_return

Change-Id: I7ee60b6a2100414d0ec5b600dab0dd05c42e63c9
This commit is contained in:
Monty Taylor 2017-08-18 18:36:36 -05:00
parent 76bed2a0bd
commit 045f4b6736
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
1 changed files with 2 additions and 4 deletions

View File

@ -13,11 +13,9 @@
- hosts: "{{ site_logs.fqdn }}"
roles:
- upload-logs
- hosts: localhost
tasks:
- name: Return log URL to Zuul
delegate_to: localhost
zuul_return:
data:
zuul:
log_url: "http://logs.openstack.org/{{ hostvars[site_logs.fqdn]['log_path'] }}/"
log_url: "http://logs.openstack.org/{{ log_path }}/"