|
13 | 13 | dest: "00-schema.sql",
|
14 | 14 | }
|
15 | 15 | - { source: "stat_extension.sql", dest: "01-extension.sql" }
|
16 |
| - |
| 16 | + |
17 | 17 | environment:
|
18 | 18 | PATH: /usr/lib/postgresql/bin:{{ ansible_env.PATH }}
|
19 | 19 |
|
|
29 | 29 | - name: Install Postgres from source
|
30 | 30 | import_tasks: tasks/setup-postgres.yml
|
31 | 31 |
|
32 |
| - - name: Install PgBouncer |
33 |
| - import_tasks: tasks/setup-pgbouncer.yml |
34 |
| - tags: |
35 |
| - - install-pgbouncer |
36 |
| - - install-supabase-internal |
37 |
| - when: debpkg_mode or nixpkg_mode |
38 |
| - |
39 | 32 | - name: Install WAL-G
|
40 | 33 | import_tasks: tasks/setup-wal-g.yml
|
41 | 34 | when: debpkg_mode or nixpkg_mode or stage2_nix
|
|
46 | 39 | - install-gotrue
|
47 | 40 | - install-supabase-internal
|
48 | 41 | when: debpkg_mode or nixpkg_mode
|
49 |
| - |
| 42 | + |
50 | 43 | - name: Install PostgREST
|
51 | 44 | import_tasks: tasks/setup-postgrest.yml
|
52 | 45 | tags:
|
|
96 | 89 | src: files/apt_periodic
|
97 | 90 | dest: /etc/apt/apt.conf.d/10periodic
|
98 | 91 | when: debpkg_mode or nixpkg_mode
|
99 |
| - |
| 92 | + |
100 | 93 | - name: Transfer init SQL files
|
101 | 94 | copy:
|
102 | 95 | src: files/{{ item.source }}
|
|
131 | 124 | tags:
|
132 | 125 | - install-supabase-internal
|
133 | 126 | when: debpkg_mode or stage2_nix
|
134 |
| - |
| 127 | + |
135 | 128 | - name: Finalize AMI
|
136 | 129 | import_tasks: tasks/finalize-ami.yml
|
137 | 130 | tags:
|
138 | 131 | - install-supabase-internal
|
139 | 132 | when: debpkg_mode or nixpkg_mode
|
140 |
| - |
| 133 | + |
141 | 134 | - name: Enhance fail2ban
|
142 | 135 | import_tasks: tasks/setup-fail2ban.yml
|
143 | 136 | when: debpkg_mode or nixpkg_mode
|
|
218 | 211 | systemctl stop postgresql.service
|
219 | 212 | when: stage2_nix
|
220 | 213 |
|
221 |
| - - name: Remove osquery |
| 214 | + - name: Remove osquery |
222 | 215 | become: yes
|
223 | 216 | shell: |
|
224 | 217 | sudo -u ubuntu bash -c ". /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && nix profile remove osquery"
|
|
0 commit comments