Skip to content

Commit 7115025

Browse files
committed
fix(setup-postgres): revert to original when conditions
1 parent e6f3bfc commit 7115025

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

ansible/tasks/setup-postgres.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@
3636
path: '/tmp/build'
3737
state: 'absent'
3838

39-
- name: Create symlink to /usr/lib/postgresql/bin
40-
ansible.builtin.file:
41-
force: true
42-
path: '/usr/lib/postgresql/bin'
43-
src: "/usr/lib/postgresql/{{ postgresql_major }}/bin"
44-
state: 'link'
45-
4639
- name: execute stage2_nix tasks
4740
when:
4841
- stage2_nix
@@ -187,9 +180,9 @@
187180
- stage2_nix
188181

189182
# init DB
190-
- name: init the db when (debpkg_mode or nixpkg_mode or stage2_nix)
183+
- name: init the db when (debpkg_mode or nixpkg_mode)
191184
when:
192-
- (debpkg_mode or nixpkg_mode or stage2_nix)
185+
- (debpkg_mode or nixpkg_mode)
193186
block:
194187
- name: Create symlink to /usr/lib/postgresql/bin
195188
ansible.builtin.file:

0 commit comments

Comments
 (0)