From 9d64e1f0cad9820795c78109f63cd1f34ac3f1c6 Mon Sep 17 00:00:00 2001 From: Florian Wilhelm Date: Sat, 2 Nov 2024 12:59:05 +0100 Subject: [PATCH] user --- roles/basic/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/basic/tasks/main.yml b/roles/basic/tasks/main.yml index d8c95b8..f747659 100644 --- a/roles/basic/tasks/main.yml +++ b/roles/basic/tasks/main.yml @@ -19,3 +19,9 @@ path: /usr/bin/vim when: ansible_os_family == 'Debian' tags: basic + +- name: Configure user + become: true + ansible.builtin.user: + name: "{{ username }}" + tags: basic