From e7542af52ae9f6f8ad462150fbf2e12a9d6e892b Mon Sep 17 00:00:00 2001 From: hitchhooker Date: Thu, 4 Jan 2024 16:48:19 +0700 Subject: [PATCH] add dan --- group_vars/all/all.yaml | 2 +- roles/setup_user_management/tasks/main.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/group_vars/all/all.yaml b/group_vars/all/all.yaml index ce8dbdd..21f1736 100644 --- a/group_vars/all/all.yaml +++ b/group_vars/all/all.yaml @@ -114,7 +114,7 @@ all_users: - name: tommi comment: "tommi" - name: dan - comment: "tommi" + comment: "dan" # Proxmox management proxmox_default_admin_account: "ansible_admin@pve" diff --git a/roles/setup_user_management/tasks/main.yaml b/roles/setup_user_management/tasks/main.yaml index f7f6015..bd4bf7b 100644 --- a/roles/setup_user_management/tasks/main.yaml +++ b/roles/setup_user_management/tasks/main.yaml @@ -70,7 +70,7 @@ when: - item.name in ( users_with_access | default(default_users) ) - item.name in ( pam_current_users | default([]) ) - - item.name not in service_users_lookup + - item.name not in service_users_lookup - name: Enable passwordless sudo access with sudoers. ansible.builtin.lineinfile: