fix(user/bw): directories must be executable

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2024-07-01 21:58:39 +02:00
parent 7d98bdbea2
commit 2d8f1f7f36
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -11,11 +11,19 @@
path: ~/.local/bin/bw
mode: u+x
- name: Create directory for Bitwarden accounts
ansible.builtin.file:
path: "~/.config/Bitwarden CLI"
state: directory
mode: 0700
owner: "{{ target_user }}"
group: "{{ target_user }}"
- name: Create directories for different Bitwarden accounts
ansible.builtin.file:
path: "~/.config/Bitwarden CLI/{{ item }}"
state: directory
mode: 0600
mode: 0700
owner: "{{ target_user }}"
group: "{{ target_user }}"
loop: