From 6b975729d4f8251d0318fb9ce4d9ce8f30c9af1e Mon Sep 17 00:00:00 2001 From: L3D Date: Mon, 15 Nov 2021 00:28:35 +0100 Subject: [PATCH] improve permissions... --- tasks/config.yml | 3 ++- vars/main.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/config.yml b/tasks/config.yml index 795d2ac..78cdec0 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -42,8 +42,9 @@ # todo: rewrite user stuff and support multiple users - name: mkdir ~/.config/i3blocks/ + become: true ansible.builtin.file: - path: ~/.config/i3blocks/ + path: "/home/{{ i3wm_user }}/.config/i3blocks/" state: directory mode: '0755' owner: "{{ i3wm_user }}" diff --git a/vars/main.yml b/vars/main.yml index f550b9e..f28d59c 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -33,5 +33,5 @@ __i3_workspaces: user: "{{ i3wm_user }}" -playbook_version_number: 9023 # should be int +playbook_version_number: 9024 # should be int playbook_version_path: 'role-i3wm_chaos-bodensee_github.com.version'