ITOPSENG-277 allow cloned to update the jdbc_user password

This commit is contained in:
Brett Meehan
2019-11-21 15:43:43 +11:00
parent d2ce14c1dc
commit c0d2eb2674

View File

@@ -1,16 +1,16 @@
---
- block:
- name: Create application DB user
postgresql_user:
login_host: "{{ atl_db_host }}"
login_user: "{{ atl_db_root_user }}"
login_password: "{{ atl_db_root_password }}"
port: "{{ atl_db_port }}"
name: "{{ atl_jdbc_user }}"
password: "{{ atl_jdbc_password }}"
expires: 'infinity'
- name: Create application DB user
postgresql_user:
login_host: "{{ atl_db_host }}"
login_user: "{{ atl_db_root_user }}"
login_password: "{{ atl_db_root_password }}"
port: "{{ atl_db_port }}"
name: "{{ atl_jdbc_user }}"
password: "{{ atl_jdbc_password }}"
expires: 'infinity'
- block:
- name: Update root privs for new user
postgresql_privs: