summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/tasks/main.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/tasks/main.yaml b/config/tasks/main.yaml
index b875a38..b1197c1 100644
--- a/config/tasks/main.yaml
+++ b/config/tasks/main.yaml
@@ -3,3 +3,14 @@
dest: "/home/{{ user_name }}/.local/share/dotfiles"
repo: "https://git.ireas.org/dotfiles"
verify_commit: yes
+- name: Make XDG base directories
+ file:
+ path: "/home/{{ user_name }}/{{ item }}"
+ state: directory
+ owner: "{{ user_name }}"
+ group: "{{ user_name }}"
+ mode: u=rwx,g=rx,o=rx
+ with_items:
+ - .config
+ - .cache
+ - .local/share