0eaa5cf59a
- bumps ansible-lint to 5.0 - updates our custom rules to make them compatible with 5.0 - replace custom module mocking with native ansible-lint ones - remove custom call of ansible-playbook --syntax-check as now this is done by ansible-lint - assured molecule vars are hosted under a vars/ folder in order to avoid confusing linter detection. - replaced custom rule for loop var names in role as now this this an optional core feature of the linter (see config) - replaced custom rule no-same-owner with opt-in one (see config) Change-Id: I233fae8c9036d295968a97ee80e07fde8846c633
27 lines
621 B
YAML
27 lines
621 B
YAML
- name: Collect sphinx build html
|
|
synchronize:
|
|
dest: "{{ zuul_executor_dest }}"
|
|
mode: pull
|
|
src: "{{ sphinx_output_src }}"
|
|
verify_host: true
|
|
owner: no
|
|
group: no
|
|
when: not zuul_use_fetch_output
|
|
|
|
- name: Copy sphinx build html # noqa risky-file-permissions
|
|
copy:
|
|
dest: "{{ zuul_output_dir }}/logs/"
|
|
src: "{{ sphinx_output_src }}"
|
|
remote_src: true
|
|
when: zuul_use_fetch_output
|
|
|
|
- name: Return artifact to Zuul
|
|
zuul_return:
|
|
data:
|
|
zuul:
|
|
artifacts:
|
|
- name: "Docs preview site"
|
|
url: "html/"
|
|
metadata:
|
|
type: docs_site
|