Skip to content

Commit

Permalink
add postgresql variables for qa environment
Browse files Browse the repository at this point in the history
  • Loading branch information
kayiwa committed Dec 4, 2020
1 parent 3088b20 commit 7d345e2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
14 changes: 13 additions & 1 deletion group_vars/cdhweb_qa/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,16 @@ install_root: "/srv/www/cdhweb"
email_prefix: "[QA CDH Web] "
# allowed_hosts for Django
allowed_hosts:
- "test-web.cdh.princeton.edu"
- "test-web.cdh.princeton.edu"
# postgresql host variable
postgres_host: lib-postgres-staging1.princeton.edu
postgres_port: 5432
postgres_admin_user: postgres
postgres_admin_password: "{{ vault_postgres_admin_password }}"
postgresql_is_local: false
postgres_version: 12
# postgresql database info
application_dbuser_name: "{{ vault_db_username }}"
application_dbuser_password: "{{ vault_db_password }}"
application_db_name: "{{ vault_db_name }}"
application_dbuser_role_attr_flags: ""
1 change: 1 addition & 0 deletions playbooks/cdh-web_qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- deploy_user
- build_project_repo
- build_virtualenv
- postgresql
- configure_logging
- configure_apache
- install_local_settings
Expand Down

0 comments on commit 7d345e2

Please sign in to comment.