Updated README.md file
1 file changed
tree: 9bc1f8eb4fb844bfcae479024087703a47d598d2
  1. defaults/
  2. handlers/
  3. meta/
  4. tasks/
  5. tests/
  6. vars/
  7. .gitignore
  8. .travis.yml
  9. CONTRIBUTING.md
  10. LICENSE
  11. README.md
README.md

Apigee Fetch Files

This role will download logs and configuration files from a node used to install an Apigee platform component.

Requirements

None

Role Variables

Variable NameDescription
download_patternThis is a collection that indicates the directory and file pattern to find
download_folderThis 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' }

Dependencies

None

Example Playbook

- hosts: servers
  roles: 
    - { role: apigee-fetch-files, download_pattern: '{{ pattern }}', download_folder: "~/.apigee/planet_logs" }

License

Apache 2.0

Author Information

Carlos Frias

Required Disclaimer

This is not an officially supported Google product.

Not Google Product Clause

This is not an officially supported Google product.

How to Contribute

We'd love to accept your patches and contributions to this project. Please review our guidelines.