dotfiles/roles/base_desktop/tasks/structure.yml
Matej Focko 8e8c31c1f1
chore: rename ‹base› group of roles
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-12-12 16:07:41 +01:00

21 lines
461 B
YAML

---
- 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
- ~/.local/share/applications
- ~/.ssh
- name: Create empty file for tokens
ansible.builtin.file:
path: ~/.tokens
state: touch
mode: 0600
owner: "{{ target_user }}"
group: "{{ target_user }}"