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
|
state: directory
|
||||||
mode: 0700
|
mode: 0700
|
||||||
owner: "{{ target_user }}"
|
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:
|
ansible.builtin.file:
|
||||||
path: "~/.config/Bitwarden CLI/{{ item }}"
|
path: "~/.config/Bitwarden CLI/vault.bitwarden.com"
|
||||||
state: directory
|
state: directory
|
||||||
mode: 0700
|
mode: 0700
|
||||||
owner: "{{ target_user }}"
|
owner: "{{ target_user }}"
|
||||||
group: "{{ target_user }}"
|
group: "{{ target_group }}"
|
||||||
loop:
|
|
||||||
- vault.bitwarden.com
|
- name: Create directory for the self-hosted Vaultwarden instance
|
||||||
- vault.mfocko.xyz
|
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