fix(user/bw): directories must be executable
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
7d98bdbea2
commit
2d8f1f7f36
1 changed files with 9 additions and 1 deletions
|
@ -11,11 +11,19 @@
|
||||||
path: ~/.local/bin/bw
|
path: ~/.local/bin/bw
|
||||||
mode: u+x
|
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
|
- name: Create directories for different Bitwarden accounts
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "~/.config/Bitwarden CLI/{{ item }}"
|
path: "~/.config/Bitwarden CLI/{{ item }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: 0600
|
mode: 0700
|
||||||
owner: "{{ target_user }}"
|
owner: "{{ target_user }}"
|
||||||
group: "{{ target_user }}"
|
group: "{{ target_user }}"
|
||||||
loop:
|
loop:
|
||||||
|
|
Loading…
Reference in a new issue