pretix: fix ansible deprecation warning

This commit is contained in:
Markus 2023-09-15 09:11:25 +02:00
parent a3995263f2
commit 6b600be79c

View File

@ -37,13 +37,13 @@
- postgresql
- python3-psycopg2
- name: Configure PostgreSQL database
postgresql_db: name={{ pretix_dbname }}
- name: Configure PostgreSQL user
postgresql_user: name={{ pretix_dbuser }} password={{ pretix_dbpass }}
become: true
become_user: postgres
- name: Configure PostgreSQL user
postgresql_user: db={{ pretix_dbname }} name={{ pretix_dbuser }} password={{ pretix_dbpass }} priv=ALL state=present
- name: Configure PostgreSQL database
postgresql_db: name={{ pretix_dbname }} owner={{ pretix_dbuser }}
become: true
become_user: postgres