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,8 +1,6 @@
--- ---
- block: - name: Create application DB user
- name: Create application DB user
postgresql_user: postgresql_user:
login_host: "{{ atl_db_host }}" login_host: "{{ atl_db_host }}"
login_user: "{{ atl_db_root_user }}" login_user: "{{ atl_db_root_user }}"
@@ -12,6 +10,8 @@
password: "{{ atl_jdbc_password }}" password: "{{ atl_jdbc_password }}"
expires: 'infinity' expires: 'infinity'
- block:
- name: Update root privs for new user - name: Update root privs for new user
postgresql_privs: postgresql_privs:
login_host: "{{ atl_db_host }}" login_host: "{{ atl_db_host }}"