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.
The role apigee-opdk-setup-default-settings
addes the variable apigee_postgresql_data_dir
to the cache for use throughout the framework.
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.
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 }
Apache 2.0
Carlos Frias
This is not an officially supported Google product.
We'd love to accept your patches and contributions to this project. Please review our guidelines.