Skip to content

Commit a22335b

Browse files
committed
chore: try to see what group the user is part of at end of build
1 parent 73fa7f5 commit a22335b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ansible-nix/playbook.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,12 @@
107107
import_tasks: tasks/clean-build-dependencies.yml
108108

109109
- name: Check if postgres user is part of users group
110-
command: "id -nG postgres | grep -qw users"
110+
shell: "id -nG postgres | grep -qw users"
111111
register: check_user_group
112112
ignore_errors: yes
113113
become: yes
114+
args:
115+
executable: /bin/bash
114116

115117
- name: Print result to Ansible log output
116118
debug:

common-nix.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.6.1.32-nix-staged"
1+
postgres-version = "15.6.1.33-nix-staged"

0 commit comments

Comments
 (0)