diff --git a/roles/user/secrets/bw/tasks/main.yml b/roles/user/secrets/bw/tasks/main.yml index 9f9a0d0..72dcf2b 100644 --- a/roles/user/secrets/bw/tasks/main.yml +++ b/roles/user/secrets/bw/tasks/main.yml @@ -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: