2023-08-27 11:43:02 +02:00
|
|
|
---
|
|
|
|
- name: Create directories in `~/.local`
|
|
|
|
ansible.builtin.file:
|
|
|
|
path: "{{ item }}"
|
|
|
|
state: directory
|
|
|
|
mode: 0700
|
|
|
|
owner: "{{ target_user }}"
|
|
|
|
group: "{{ target_user }}"
|
|
|
|
loop:
|
|
|
|
- ~/.local/bin
|
|
|
|
- ~/.local/share
|
2024-07-15 15:43:43 +02:00
|
|
|
- ~/.local/share/applications
|
2023-08-27 11:43:02 +02:00
|
|
|
- ~/.ssh
|
|
|
|
|
|
|
|
- name: Create empty file for tokens
|
|
|
|
ansible.builtin.file:
|
|
|
|
path: ~/.tokens
|
|
|
|
state: touch
|
|
|
|
mode: 0600
|
|
|
|
owner: "{{ target_user }}"
|
|
|
|
group: "{{ target_user }}"
|