Initial
This commit is contained in:
37
roles/workstation/tasks/software/keepassxc.yml
Normal file
37
roles/workstation/tasks/software/keepassxc.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
- name: software | keepassxc | install package
|
||||
tags: packages,firefox,flatpak,workstation-packages
|
||||
become_user: bzoicas
|
||||
flatpak:
|
||||
name: org.keepassxc.KeePassXC
|
||||
method: user
|
||||
state: present
|
||||
|
||||
- name: software | keepassxc | enable autostart
|
||||
tags: packages,keepassxc,flatpak,workstation-packages
|
||||
file:
|
||||
src: /home/bzoicas/.local/share/flatpak/exports/share/applications/org.keepassxc.KeePassXC.desktop
|
||||
dest: /home/bzoicas/.config/autostart/org.keepassxc.KeePassXC.desktop
|
||||
owner: bzoicas
|
||||
group: bzoicas
|
||||
state: link
|
||||
|
||||
- name: software | keepassxc | create keepassxc install directory
|
||||
tags: packages,keepassxc,flatpak,workstation-packages
|
||||
file:
|
||||
path: /home/bzoicas/.config/keepassxc
|
||||
state: directory
|
||||
owner: bzoicas
|
||||
group: bzoicas
|
||||
mode: 0700
|
||||
register: keepassxc_config_dir
|
||||
when: keepassxc is defined and keepassxc == true
|
||||
|
||||
- name: software | keepassxc | add initial keepassxc config
|
||||
tags: packages,keepassxc,flatpak,workstation-packages
|
||||
copy:
|
||||
src: users/bzoicas/keepassxc.ini
|
||||
dest: /home/bzoicas/.config/keepassxc/keepassxc.ini
|
||||
owner: bzoicas
|
||||
group: bzoicas
|
||||
mode: 0600
|
||||
when: keepassxc is defined and keepassxc == true
|
||||
Reference in New Issue
Block a user