initial commit

This commit is contained in:
2026-02-14 21:23:19 +01:00
commit 05316253fa
29 changed files with 1156 additions and 0 deletions

25
tasks/configure-user.yaml Normal file
View File

@@ -0,0 +1,25 @@
- name: User Configuration - Add sudoers entry for "{{ username }}"
lineinfile:
path: "/etc/sudoers.d/{{ username }}"
line: "{{ username }} ALL=(ALL) NOPASSWD: ALL"
create: yes
mode: "0640"
- name: User Configuration - Copy tmux configuration
copy:
src: "files/configs/tmux.conf"
dest: "{{ userhome }}/.tmux.conf"
owner: "{{ username }}"
group: "{{ username }}"
- name: User Configuration - Copy pictures
become_user: "{{ username }}"
copy:
src: files/pictures/
dest: "{{ userhome }}/Pictures/"
- name: User Configuration - Create opt/scripts directory
become_user: "{{ username }}"
file:
path: "{{ userhome }}/opt/scripts"
state: directory