Verified Commit d225a336 authored by Florian Pritz's avatar Florian Pritz
Browse files

Store postgres passwords encrypted on server



Seems to be required with postgres 10 now.

Signed-off-by: Florian Pritz's avatarFlorian Pritz <bluewind@xinu.at>
parent dcf737a2
......@@ -30,7 +30,7 @@
become_user: kanboard
- name: create kanboard db user
postgresql_user: name={{ kanboard_db_user }} password={{ kanboard_db_password }}
postgresql_user: name={{ kanboard_db_user }} password={{ kanboard_db_password }} encrypted=true
become: yes
become_user: postgres
become_method: su
......
......@@ -74,7 +74,7 @@
become_method: su
- name: add synapse postgres user
postgresql_user: db=synapse name=synapse password={{ postgres_users.synapse }}
postgresql_user: db=synapse name=synapse password={{ postgres_users.synapse }} encrypted=true
become: yes
become_user: postgres
become_method: su
......
......@@ -10,7 +10,7 @@
become_method: su
- name: add quassel postgres user
postgresql_user: db=quassel name=quassel password={{ postgres_users.quassel }}
postgresql_user: db=quassel name=quassel password={{ postgres_users.quassel }} encrypted=true
become: yes
become_user: postgres
become_method: su
......
......@@ -19,7 +19,7 @@
file: path=/var/log/nginx/{{ zabbix_domain }} state=directory owner=root group=root mode=0755
- name: create zabbix db user
postgresql_user: name={{ zabbix_db_user }} password={{ zabbix_db_password }}
postgresql_user: name={{ zabbix_db_user }} password={{ zabbix_db_password }} encrypted=true
become: yes
become_user: postgres
become_method: su
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment