From 9cc587cda5cf58e798af751a0e70d2efdb697aae Mon Sep 17 00:00:00 2001 From: jakub Date: Fri, 24 Apr 2026 14:53:48 +0000 Subject: [PATCH] Update initial_install/roles/users/tasks/main.yml --- initial_install/roles/users/tasks/main.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/initial_install/roles/users/tasks/main.yml b/initial_install/roles/users/tasks/main.yml index 1392e3f..3e64f3c 100644 --- a/initial_install/roles/users/tasks/main.yml +++ b/initial_install/roles/users/tasks/main.yml @@ -1,4 +1,3 @@ -```yaml --- - name: Define users ansible.builtin.set_fact: @@ -22,7 +21,7 @@ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPFS4fsqMjMMu/Bi/884bw7yJBqvWusDRESvanH6Owco jakub@jimbuntu" # -------------------------------------------------- -# Create users (NO sudo group here!) +# Create users # -------------------------------------------------- - name: Ensure users exist ansible.builtin.user: @@ -58,6 +57,5 @@ # -------------------------------------------------- # Reset connection so sudo rules take effect immediately # -------------------------------------------------- -- name: Reset SSH connection (refresh sudo context) - meta: reset_connection -``` +- name: Reset SSH connection + meta: reset_connection \ No newline at end of file