浏览代码

[postgres] Update to py38 and fix priv issue

Colin Powell 3 年之前
父节点
当前提交
27e4970734
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      ansible/roles/postgres/tasks/main.yml

+ 7 - 7
ansible/roles/postgres/tasks/main.yml

@@ -4,7 +4,7 @@
 
 - name: PostgreSQL packages installed
   community.general.pkgng:
-    name: postgresql12-server,postgresql12-client,postgresql12-contrib,py37-psycopg2
+    name: postgresql12-server,postgresql12-client,postgresql12-contrib,py38-psycopg2
     state: latest
 
 - name: PostgreSQl db initalized
@@ -198,12 +198,12 @@
   tags:
     - create_dbs
 
-- postgresql_privs:
-    db: postgres
-    privs: SELECT
-    type: schema
-    objs: public
-    role: grafana_read_only
+#- postgresql_privs:
+#    db: postgres
+#    privs: SELECT
+#    type: schema
+#    objs: public
+#    role: grafana_read_only
 
 - name: grafana database exists
   postgresql_db: