From 048aebf95f34b79b6cf58d0dca0a624d98753bab Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 8 Oct 2024 16:46:30 +0200 Subject: [PATCH] dd --- group_vars/pbs.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/group_vars/pbs.yml b/group_vars/pbs.yml index a49d370c..6520ac76 100644 --- a/group_vars/pbs.yml +++ b/group_vars/pbs.yml @@ -13,14 +13,19 @@ users: - username: root password: "{{ lookup('viczem.keepass.keepass', 'root_linux_password_hash_proxmox', 'password') }}" update_password: always - groups: ssh, sudo, root + groups: + - ssh + - sudo + - root state: present allow_sudo: true allow_passwordless_sudo: true - username: mg password: "{{ lookup('viczem.keepass.keepass', 'mg_linux_password_hash', 'password') }}" update_password: always - groups: ssh, sudo + groups: + - ssh + - sudo state: present public_ssh_key: "{{ ssh_public_key_mg }}" allow_sudo: true @@ -28,7 +33,9 @@ users: - username: ansible-user password: "{{ lookup('viczem.keepass.keepass', 'ansible_user_linux_password_hash', 'password') }}" update_password: always - groups: ssh, sudo + groups: + - ssh + - sudo state: present public_ssh_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJcBwOjanQV6sFWaTetqpl20SVe3aRzGjKbsp7hKkDCE mg@irantu allow_sudo: true