8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e6f809 commit da5a477Copy full SHA for da5a477
ansible/playbook.yml
@@ -13,6 +13,23 @@
13
tasks:
14
- include_tasks: tasks/setup-extensions.yml
15
16
+ - name: Dump SQL script
17
+ copy:
18
+ dest: /tmp/00-schema.sql
19
+ src: ../docker/mnt/00-schema.sql
20
+
21
+ - name: Set up readonly user for the public schema
22
+ become: yes
23
+ become_user: postgres
24
+ postgresql_query:
25
+ db: postgres
26
+ path_to_script: /tmp/00-schema.sql
27
28
+ - name: Delete SQL script
29
+ file:
30
+ path: /tmp/00-schema.sql
31
+ state: absent
32
33
- name: Set up password for superadmin postgres
34
become: yes
35
become_user: postgres
0 commit comments