From fa35d4a77cafa9d41f355fe190b48ec3e229c633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 25 Jul 2023 17:08:53 +0200 Subject: [PATCH] fix group --- roles/common/tasks/user-ops.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/common/tasks/user-ops.yaml b/roles/common/tasks/user-ops.yaml index 172fdcd..91dd14b 100644 --- a/roles/common/tasks/user-ops.yaml +++ b/roles/common/tasks/user-ops.yaml @@ -4,7 +4,7 @@ path: /home/ansible@intra.tormakris.dev/.ssh state: directory owner: ansible@intra.tormakris.dev - group: ansible@intra.tormakris.dev + group: domain users@intra.tormakris.dev - name: Copy authorized_keys ansible.builtin.copy: @@ -12,9 +12,9 @@ dest: /home/ansible@intra.tormakris.dev/.ssh/authorized_keys mode: 0600 owner: ansible@intra.tormakris.dev - group: ansible@intra.tormakris.dev + group: domain users@intra.tormakris.dev -- name: Check if group is presend in sudoers +- name: Check if group is present in sudoers ansible.builtin.lineinfile: state: absent path: /etc/sudoers