From 0a2047ed189b891bb3876f7256a757a6c139310e Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 21 Jan 2019 23:32:23 +0100 Subject: Create XDG base directory in config --- config/tasks/main.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- cgit v1.2.3