tripleo-quickstart-extras/roles/collect-logs/tasks/main.yml

22 lines
504 B
YAML

---
- name: Collect logs
include: collect.yml
when: artcl_collect|bool
- name: Generate docs
include: create-docs.yml
when:
- artcl_gen_docs|bool
- not artcl_collect|bool
- name: Publish logs
include: publish.yml
when:
- artcl_publish|bool
- not artcl_collect|bool
- name: Verify Sphinx build
shell: grep "{{ item }}" "{{ artcl_collect_dir }}/docs/build/index.html"
with_items: "{{ artcl_create_docs_payload.table_of_contents }}"
when: artcl_verify_sphinx_build|bool