summaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2025-05-22 00:00:44 +0200
committerGuilhem Moulin <guilhem@fripost.org>2025-05-22 00:02:13 +0200
commit9eb434bb0ec5f6802cfa84411cf3384bcc8ab709 (patch)
treed73dc204635e07d385c793419248f681c4936d2c /tasks
parent40eeed9b8cb9cd009141b6d0e5231db7b3b1bafb (diff)
community.postgresql: Rename parameters to avoid deprecation warnings.
[DEPRECATION WARNING]: Alias 'db' is deprecated. See the module docs for more information. This feature will be removed from collection 'community.postgresql' version 5.0.0. [DEPRECATION WARNING]: Alias 'database' is deprecated. See the module docs for more information. This feature will be removed from collection 'community.postgresql' version 5.0.0.
Diffstat (limited to 'tasks')
-rw-r--r--tasks/webmap.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/tasks/webmap.yml b/tasks/webmap.yml
index ba80461..92bb58f 100644
--- a/tasks/webmap.yml
+++ b/tasks/webmap.yml
@@ -203,7 +203,7 @@
become: true
become_user: postgres
community.postgresql.postgresql_user:
- db: webmap
+ login_db: webmap
name: "{{ item }}"
with_items:
- webmap_import
@@ -241,7 +241,7 @@
become_user: postgres
community.postgresql.postgresql_schema:
name: postgis
- db: webmap
+ login_db: webmap
owner: postgres
- name: Install 'postgis' PostgreSQL extension to the webmap database in the postgis schema
@@ -249,7 +249,7 @@
become_user: postgres
community.postgresql.postgresql_ext:
name: postgis
- db: webmap
+ login_db: webmap
schema: postgis
comment: Geographic objects support for PostgreSQL
@@ -257,7 +257,7 @@
become: true
become_user: postgres
community.postgresql.postgresql_privs:
- database: webmap
+ login_db: webmap
privs: CONNECT
type: database
role: webmap_import,webmap_guest
@@ -266,7 +266,7 @@
become: true
become_user: postgres
community.postgresql.postgresql_privs:
- database: webmap
+ login_db: webmap
privs: USAGE
type: schema
obj: postgis
@@ -277,7 +277,7 @@
become: true
become_user: postgres
community.postgresql.postgresql_privs:
- database: webmap
+ login_db: webmap
privs: CREATE
type: schema
obj: postgis
@@ -288,7 +288,7 @@
become: true
become_user: postgres
community.postgresql.postgresql_privs:
- database: webmap
+ login_db: webmap
privs: SELECT
type: table
obj: ALL_IN_SCHEMA
@@ -299,7 +299,7 @@
become: true
become_user: postgres
community.postgresql.postgresql_privs:
- database: webmap
+ login_db: webmap
privs: USAGE,SELECT
type: sequence
obj: ALL_IN_SCHEMA