From 30542a58a2e6e6ef02b247ebb86b5f2bd6108783 Mon Sep 17 00:00:00 2001 From: Andy Rajagopalan Date: Thu, 13 Aug 2020 09:54:51 -0700 Subject: [PATCH] add jdbc password lookup --- roles/confluence_config/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/confluence_config/tasks/main.yml b/roles/confluence_config/tasks/main.yml index 6b9e290..05ce242 100644 --- a/roles/confluence_config/tasks/main.yml +++ b/roles/confluence_config/tasks/main.yml @@ -1,7 +1,7 @@ --- -- name: debug message - debug: msg="{{ lookup('template', './confluence.cfg.xml.j2') }} will return the contents from evaluation of this template" +#- name: debug message +# debug: msg="{{ lookup('template', './confluence.cfg.xml.j2') }} will return the contents from evaluation of this template" - name: Create application directories file: @@ -104,7 +104,7 @@ postgresql_query: login_host: "{{ atl_db_host }}" login_user: "{{ atl_jdbc_user }}" - login_password: "{{ atl_jdbc_password }}" + login_password: "{{ lookup('aws_secret',atl_jdbc_password_secret, region=atl_aws_region) | from_json | json_query('password')) }}" db: "{{ atl_jdbc_db_name }}" query: > update bandana set bandanavalue=regexp_replace(bandanavalue, %s, %s)