Configure KeepassXC settings
This commit is contained in:
parent
9fcde64823
commit
1c239a594b
3 changed files with 33 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
|||
- import_tasks: tasks/shell.yml
|
||||
- import_tasks: tasks/fonts.yml
|
||||
- import_tasks: tasks/autostart.yml
|
||||
- import_tasks: tasks/keepassxc.yml
|
||||
|
||||
- import_tasks: tasks/dabapps.yml
|
||||
when: ansible_fqdn == "TOO-Work"
|
||||
|
|
31
tasks/keepassxc.yml
Normal file
31
tasks/keepassxc.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
- file:
|
||||
state: directory
|
||||
recurse: true
|
||||
path: "{{ home }}/Private"
|
||||
owner: "{{ user }}"
|
||||
mode: 0700
|
||||
|
||||
- set_fact:
|
||||
keepassxc_config:
|
||||
- {section: General, option: "SSHAgent", value: "true"}
|
||||
- {section: General, option: "AutoSaveAfterEveryChange", value: "true"}
|
||||
- {section: General, option: "LastOpenedDatabases", value: "{{ home }}/Private/KeePass/Password Safe.kdbx"}
|
||||
- {section: General, option: "SingleInstance", value: "true"}
|
||||
- {section: Http, option: "Enabled", value: "false"}
|
||||
- {section: GUI, option: "ShowTrayIcon", value: "true"}
|
||||
- {section: GUI, option: "MinimizeToTray", value: "true"}
|
||||
- {section: GUI, option: "MinimizeOnStartup", value: "true"}
|
||||
- {section: security, option: "lockdatabasescreenlock", value: "true"}
|
||||
- {section: Browser, option: "Enabled", value: "true"}
|
||||
- {section: Browser, option: "AlwaysAllowAccess", value: "true"}
|
||||
- {section: Browser, option: "AlwaysAllowUpdate", value: "true"}
|
||||
|
||||
- name: Set KeepassXC configuration
|
||||
ini_file:
|
||||
path: "{{ home }}/.config/keepassxc/keepassxc.ini"
|
||||
mode: 0600
|
||||
owner: "{{ user }}"
|
||||
section: "{{ item.section }}"
|
||||
option: "{{ item.option }}"
|
||||
value: "{{ item.value }}"
|
||||
with_items: "{{ keepassxc_config }}"
|
|
@ -3,4 +3,4 @@ extends: default
|
|||
rules:
|
||||
document-start: "disable"
|
||||
line-length:
|
||||
max: 100
|
||||
max: 150
|
||||
|
|
Loading…
Reference in a new issue