From a7fe74cdbae6628bfc41ded0fd599f069d3be4e8 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Wed, 19 Feb 2020 10:08:17 -0800 Subject: [PATCH] forgot to dump gid info --- tests/ansible/integration/action/make_tmp_path.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ansible/integration/action/make_tmp_path.yml b/tests/ansible/integration/action/make_tmp_path.yml index 1af3c95f..dd36c57a 100644 --- a/tests/ansible/integration/action/make_tmp_path.yml +++ b/tests/ansible/integration/action/make_tmp_path.yml @@ -129,7 +129,7 @@ # - name: DEBUGGING - dump all users and their groups and group ids; become_user fails with sudo gid error - shell: dscl . list /Users | grep -v '^_' | xargs -I{} -t -n1 sh -c "id -Gn {} | python -c \"from __future__ import print_function; import sys; import grp; print([line for line in sys.stdin.read().strip().replace('\n', ' ').split(' ')])\"" + shell: dscl . list /Users | grep -v '^_' | xargs -I{} -t -n1 sh -c "id -Gn {} | python -c \"from __future__ import print_function; import sys; import grp; print([grp.getgrnam(line) for line in sys.stdin.read().strip().replace('\n', ' ').split(' ')])\"" - name: "Try writing to temp directory for the readonly_homedir user"