Skip to content

Commit 55dc27a

Browse files
committed
fix(setup-docker): copy supautils.conf in nixpkg_mode
1 parent e8b9f55 commit 55dc27a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ansible/tasks/setup-docker.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@
3838
become: true
3939

4040
- name: debpkg_mode or stage2_nix actions
41+
become: true
4142
when:
42-
- (debpkg_mode or stage2_nix)
43+
- (debpkg_mode or stage2_nix or nixpkg_mode)
4344
block:
4445
# supautils
4546
- name: supautils - write custom supautils.conf
@@ -54,7 +55,6 @@
5455
ansible.builtin.copy:
5556
dest: '/etc/postgresql-custom/extension-custom-scripts'
5657
src: 'files/postgresql_extension_custom_scripts/'
57-
become: true
5858

5959
- name: supautils - chown extension custom scripts
6060
ansible.builtin.file:
@@ -63,7 +63,6 @@
6363
owner: 'postgres'
6464
path: '/etc/postgresql-custom/extension-custom-scripts'
6565
recurse: true
66-
become: true
6766

6867
- name: Cleanup - extension packages
6968
ansible.builtin.file:

0 commit comments

Comments
 (0)