4deddced0d
The site_logs secret moved into opendev/basejobs and we renamed the site_logs secret here into site_logs_project_config and site_specs. Unfortauntely many of our playbooks in this repo were not updated to use the new secret name so they cause some jobs to fail. Fix this by updated the playbooks to use site_logs_project_config and site_specs as appropriate. Change-Id: I852a6362c35dd6aa17b0f767fceea811402dd90c
23 lines
568 B
YAML
23 lines
568 B
YAML
- hosts: all
|
|
roles:
|
|
- role: fetch-sphinx-output
|
|
sphinx_output_suffix: "/"
|
|
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
|
|
when: zuul_success | bool
|
|
|
|
- hosts: localhost
|
|
roles:
|
|
- role: add-fileserver
|
|
fileserver: "{{ site_specs }}"
|
|
|
|
- hosts: "{{ site_specs.fqdn }}"
|
|
gather_facts: False
|
|
tasks:
|
|
|
|
- name: Upload specs to fileserver
|
|
synchronize:
|
|
src: "{{ zuul.executor.work_root }}/artifacts/"
|
|
dest: "/srv/static/specs/{{ zuul.project.name }}"
|
|
no_log: true
|
|
when: zuul_success | bool
|