Clone this repo:

Branches

  1. 4df9312 Updated README.md file by Carlos Frias · 7 years ago master
  2. ecca01b Updated existing changes by Carlos Frias · 7 years ago
  3. 20b9150 updated privilege by Carlos Frias · 7 years ago
  4. 63ffc40 Updated docs by Carlos Frias · 7 years ago
  5. 389d7be Updated README.md file by Carlos Frias · 7 years ago

Apigee OPDK Setup Postgres Config

This role performs configurations that are only required for Postgres instances used with the Apigee platform. The database folder can be removed if the clear_pgdata flag is set.

Requirements

The role apigee-opdk-setup-default-settings addes the variable apigee_postgresql_data_dir to the cache for use throughout the framework.

Role Variables

The variable apigee_postgresql_data_dir is used to reference the location of the PostgreSQL database folder.

apigee_postgresql_data_dir: '{{ apigee_home }}/data/apigee-postgresql/pgdata'

The variable clear_pgdata is used to indicate that the data folder for PostgreSQL should be deleted and cleared of any data. The variable clear_pgdata is defaulted to False.

Dependencies

  • apigee-opdk-setup-default-settings

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: apigee-opdk-setup-default-settings }

License

Apache 2.0

Author Information

Carlos Frias

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.