* push logs to a swift storage with an automatic expiration * call the publish part only once * make rsync --quiet for a more compact playbook output * make rsync upload optional * fix full_logs template to include a slash at the end of the URL, needed by the os-loganalyze server * document new settings Change-Id: If3dc99cce2b4386e9ed0ed1c47c7f4098ec43e5a
45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
---
|
|
# defaults file for ansible-role-tripleo-collect-logs
|
|
|
|
artcl_collect_list:
|
|
- /var/log/
|
|
- /var/lib/mysql
|
|
- /etc/
|
|
- /home/stack/.instack/install-undercloud.log
|
|
- /home/stack/stackrc
|
|
- /home/stack/overcloudrc
|
|
- /home/stack/*.log
|
|
- /home/stack/*.json
|
|
- /home/stack/*.conf
|
|
- /home/stack/*.yml
|
|
- /home/stack/*.yaml
|
|
- /home/stack/*.sh
|
|
- /home/stack/*.rst
|
|
- /home/stack/deploy-overcloudrc
|
|
- /home/stack/network-environment.yaml
|
|
- /home/stack/tempest/*.xml
|
|
- /home/stack/tempest/*.html
|
|
- /home/stack/tempest/*.log
|
|
- /home/stack/tempest/etc/*.conf
|
|
- /home/stack/local_tht
|
|
- /home/stack/gating_repo.tar.gz
|
|
- /home/stack/browbeat/ansible/bug_report.log
|
|
- /home/stack/browbeat/results
|
|
- /usr/share/openstack-tripleo-heat-templates
|
|
artcl_collect_dir: "{{ lookup('env', 'PWD') }}/collected_files"
|
|
artcl_gzip_only: true
|
|
artcl_collect: true
|
|
artcl_publish: false
|
|
artcl_use_rsync: false
|
|
artcl_rsync_use_daemon: false
|
|
|
|
artcl_use_swift: false
|
|
# clean up the logs after 31 days
|
|
artcl_swift_delete_after: 2678400
|
|
artcl_swift_container: logs
|
|
|
|
## Doc generation specific vars
|
|
artcl_gen_docs: false
|
|
artcl_docs_source_dir: "{{ local_working_dir }}/usr/local/share/ansible/roles/tripleo-collect-logs/docs/source"
|
|
artcl_docs_build_dir: "{{ artcl_collect_dir }}/docs/build"
|