diff --git a/roles/deploy/README.md b/roles/deploy/README.md index 843aa6d..84505de 100644 --- a/roles/deploy/README.md +++ b/roles/deploy/README.md @@ -70,7 +70,7 @@ ansible-playbook -i inventory --extra-vars='{"tuxedo_service_users": ["ceu"]}' Oracle Database configuration is retrieved from Hashicorp Vault for each item specified in the `required_databases` parameter list for a given set of Tuxedo services (see [Services][3]). For each item specified in this list, a Vault key is expected to be present at a path that uses the following pattern: ``` -applications/heritage--eu-west-2/tuxedo/database/ +applications/heritage--eu-west-2/chl-tuxedo/database/ ``` Where `` is the actual name of the environment the configuration relates to and `` matches the `required_databases` list item name. diff --git a/roles/deploy/tasks/deploy.yml b/roles/deploy/tasks/deploy.yml index e7a407e..5c03cbd 100644 --- a/roles/deploy/tasks/deploy.yml +++ b/roles/deploy/tasks/deploy.yml @@ -2,7 +2,7 @@ - name: Retrieve service-specific database credentials from Hashicorp Vault set_fact: - "{{ item }}_db_credentials": "{{ lookup('community.hashi_vault.hashi_vault', 'applications/heritage-{{ environment_name }}-eu-west-2/tuxedo/database/{{ item }}') }}" + "{{ item }}_db_credentials": "{{ lookup('community.hashi_vault.hashi_vault', 'applications/heritage-{{ environment_name }}-eu-west-2/chl-tuxedo/database/{{ item }}') }}" no_log: True loop: "{{ tuxedo_service_config[tuxedo_user].required_databases | default([]) }}"