| commit | 20b91506608f864421afa605433513819679fb5f | [log] [tgz] |
|---|---|---|
| author | Carlos Frias <friasc@google.com> | Fri Apr 06 20:34:19 2018 -0400 |
| committer | Carlos Frias <friasc@google.com> | Fri Apr 06 20:34:19 2018 -0400 |
| tree | 83446e301d517be64e020931e72c09e21c936a7d | |
| parent | 63ffc405691ce85eb588c3381898ff565313d46f [diff] |
updated privilege
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.