forked from infra/ansible
pretix: fix ansible deprecation warning
This commit is contained in:
parent
a3995263f2
commit
6b600be79c
@ -37,13 +37,13 @@
|
|||||||
- postgresql
|
- postgresql
|
||||||
- python3-psycopg2
|
- python3-psycopg2
|
||||||
|
|
||||||
- name: Configure PostgreSQL database
|
- name: Configure PostgreSQL user
|
||||||
postgresql_db: name={{ pretix_dbname }}
|
postgresql_user: name={{ pretix_dbuser }} password={{ pretix_dbpass }}
|
||||||
become: true
|
become: true
|
||||||
become_user: postgres
|
become_user: postgres
|
||||||
|
|
||||||
- name: Configure PostgreSQL user
|
- name: Configure PostgreSQL database
|
||||||
postgresql_user: db={{ pretix_dbname }} name={{ pretix_dbuser }} password={{ pretix_dbpass }} priv=ALL state=present
|
postgresql_db: name={{ pretix_dbname }} owner={{ pretix_dbuser }}
|
||||||
become: true
|
become: true
|
||||||
become_user: postgres
|
become_user: postgres
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user