Use delegate_to for the zuul_return
Change-Id: I7ee60b6a2100414d0ec5b600dab0dd05c42e63c9
This commit is contained in:
parent
76bed2a0bd
commit
045f4b6736
|
@ -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 }}/"
|
||||
|
|
Loading…
Reference in New Issue