tripleo-quickstart-extras/playbooks/collect-logs.yml
Sorin Sbarnea cc82349363 Adapt code to newer code style (linters)
Makes those files conformant with current linting rules and avoids
linting errors when we need to toch them again.

Previous doing "pre-commit run -a" uncovered these errors, now is no
longer reporting any other errors.

Change-Id: Ie4cf229c8f11c2b55b323eac23c89483b26d3781
2018-11-16 12:42:51 +00:00

27 lines
523 B
YAML

---
- name: Run dump vars on all!localhost
hosts: all:!localhost:!127.0.0.2
roles:
- dump_vars
- name: Ensure the overcloud nodes are added to the generated inventory
hosts: undercloud
gather_facts: true
tags:
- collect-logs
vars:
inventory: all
roles:
- tripleo-inventory
ignore_errors: true
- name: Collect logs
hosts: all:!localhost:!127.0.0.2
roles:
- collect-logs
- name: Create docs, publish logs
hosts: localhost
roles:
- {role: collect-logs, artcl_collect: false}