fix(secrets/bw): use correct variables
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
749be7227e
commit
42aeacb47b
1 changed files with 13 additions and 7 deletions
|
@ -17,15 +17,21 @@
|
|||
state: directory
|
||||
mode: 0700
|
||||
owner: "{{ target_user }}"
|
||||
group: "{{ target_user }}"
|
||||
group: "{{ target_group }}"
|
||||
|
||||
- name: Create directories for different Bitwarden accounts
|
||||
- name: Create directories for public Bitwarden instance
|
||||
ansible.builtin.file:
|
||||
path: "~/.config/Bitwarden CLI/{{ item }}"
|
||||
path: "~/.config/Bitwarden CLI/vault.bitwarden.com"
|
||||
state: directory
|
||||
mode: 0700
|
||||
owner: "{{ target_user }}"
|
||||
group: "{{ target_user }}"
|
||||
loop:
|
||||
- vault.bitwarden.com
|
||||
- vault.mfocko.xyz
|
||||
group: "{{ target_group }}"
|
||||
|
||||
- name: Create directory for the self-hosted Vaultwarden instance
|
||||
ansible.builtin.file:
|
||||
path: "~/.config/Bitwarden CLI/{{ vaultwarden_address }}"
|
||||
state: directory
|
||||
mode: 0700
|
||||
owner: "{{ target_user }}"
|
||||
group: "{{ target_group }}"
|
||||
when: vaultwarden_address
|
||||
|
|
Loading…
Reference in a new issue