This role will download logs and configuration files from a node used to install an Apigee platform component.
None
| Variable Name | Description |
|---|---|
| download_pattern | This is a collection that indicates the directory and file pattern to find |
| download_folder | This indicates the folder on the control server where the files should be placed |
The download_pattern collection should be structured in the following way:
pattern:
- { dir: '/tmp', pattern: 'setup*.log' }
- { dir: '{{ opdk_installer_path }}/', pattern: '*' }
- { dir: '{{ opdk_installer_path }}/', pattern: '*.log' }
- { dir: '{{ opdk_installer_path }}/', pattern: '*.txt' }
- { dir: '{{ opdk_installer_path }}/', pattern: '*.conf' }
- { dir: '{{ opdk_installer_path }}/', pattern: '*.sh' }
- { dir: '{{ apigee_home }}/', pattern: '*.out' }
- { dir: '{{ apigee_home }}/var/log', pattern: '*.log' }
- { dir: '{{ apigee_home }}/customer/', pattern: '*' }
- { dir: '{{ apigee_home }}/etc/', pattern: 'default*.sh' }
- { dir: '{{ apigee_home }}/customer', pattern: '*' }
- { dir: '{{ apigee_home }}/apigee-cassandra/', pattern: '*conf' }
- { dir: '{{ apigee_home }}/apigee-cassandra/', pattern: '*yaml' }
- { dir: '{{ apigee_home }}/apigee-cassandra/', pattern: '*properties' }
- { dir: '{{ apigee_home }}/apigee-zookeeper/', pattern: '*conf' }
- { dir: '{{ apigee_home }}/apigee-zookeeper/', pattern: '*properties' }
- { dir: '{{ apigee_home }}/apigee-postgresql/', pattern: '*conf' }
None
- hosts: servers
roles:
- { role: apigee-fetch-files, download_pattern: '{{ pattern }}', download_folder: "~/.apigee/planet_logs" }
Apache 2.0
Carlos Frias
This is not an officially supported Google product.
This is not an officially supported Google product.
We'd love to accept your patches and contributions to this project. Please review our guidelines.