Template or copy configuration
- Create ormconfig.json
- Change to using a dictionary for environmental variables
Change-Id: Ic02e813040f5a2b3d1f9d411970365a8f7e9955e
diff --git a/defaults/main.yml b/defaults/main.yml
index d643fe3..a5930ed 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -24,3 +24,27 @@
timesheets_pg_db_port: 5432
timesheets_pg_db_username: "timesheets_db_user"
timesheets_pg_db_password: "timesheets_db_pass"
+
+timesheets_env_vars:
+ NAME: "Timesheets"
+ AUTHENTICATION_SECRET: "secret"
+ DATABASE_NAME: "{{ timesheets_pg_db }}"
+ DATABASE_PORT: "{{ timesheets_pg_db_port }}"
+ DATABASE_USER: "{{ timesheets_pg_db_username }}"
+ DATABASE_PASS: "{{ timesheets_pg_db_password }}"
+ DOCUSIGN_BASE_PATH: "https://docusign.net/restapi"
+ DOCUSIGN_TOKEN_URL: "https://account.docusign.com/oauth/token"
+ DOCUSIGN_ACCOUNT_ID: "uuid"
+ DOCUSIGN_ISS: "uuid"
+ DOCUSIGN_SUB: "uuid"
+ DOCUSIGN_AUD: "account.docusign.com"
+ DOCUSIGN_SCOPE: "signature impersonation"
+ GOOGLE_CLIENT_ID: "id"
+ GOOGLE_CLIENT_SECRET: "secret"
+ GOOGLE_PROJECT_ID: "example-timesheets-project"
+ GOOGLE_AUTH_URI: "https://accounts.google.com/o/oauth2/auth"
+ GOOGLE_TOKEN_URI: "https://oauth2.googleapis.com/token"
+ GOOGLE_AUTH_PROVIDER_X509_CERT_URL: "https://www.googleapis.com/oauth2/v1/certs"
+ GOOGLE_REDIRECT_URIS: "urn:ietf:wg:oauth:2.0:oob, http://localhost"
+ GOOGLE_DOC_PARENT_FOLDER: "folder"
+ GOOGLE_DOC_URL_TEMPLATE: "https://drive.google.com/file/d/id/view"