Skip to content

WhaleJ84/ansible-role-keepassxc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KeePassXC

Installs and configures KeePassXC for the user.

Requirements

The following collections are required:

  • community.general

They can be installed by running ansible-galaxy collection install $COLLECTION.

To include this role in your requirements.yml file, add the following list item:

---
roles:
  - name: whalej84.keepassxc
    src: https://github.com/WhaleJ84/ansible-role-keepassxc.git
    scm: git

collections:
  - community.general

Role Variables

See 'defaults/main.yml' or run egrep '^[[:alpha:]_]*:' defaults/main.yml| cut -f1 -d: for plain list.

Name Type Description Default
theme string A lowercase value of [auto, light, dark, classic] to state what theme the application should launch in "auto"
compact_mode string A lowercase boolean value of [true, false] to state whether the application will use the compact interface "false"
start_only_a_single_
instance_of_keepassxc
string A lowercase boolean value of [true, false] to state whether more than one instance can launch "true"
automatically_launch_keepassxc
_at_system_startup
string A lowercase boolean value of [true, false] to state whether KeepassXC will launch at boot "false"
minimize_instead_of_app_exit string A lowercase boolean value of [true, false] to state whether to minimize the application on close "false"
show_a_system_tray_icon string A lowercase boolean value of [true, false] to state whether to show a system tray icon "false"
tray_icon_type string A lowercase value of [monochrome-light, monochrome-dark, colorful] to state what colors the tray icon should use "monochrome-light"
enable_browser_integration string A lowercase boolean value of [true, false] to state whether browser integration is enabled "false"

Example Playbook

This example playbook shows how I would use this role, with custom variables to suit my needs.

---
- hosts: localhost

  roles:
    - role: whalej84.keepassxc
      vars:
        theme: "light"
        compact_mode: "true"
        automatically_launch_keepassxc_at_system_startup: "true"
        minimize_instead_of_app_exit: "true"
        show_a_system_tray_icon: "true"
        tray_icon_type: "colorful"
        enable_browser_integration: "true"
      tags: [ keepassxc ]

About

Installs and configures KeePassXC for the user

Topics

Resources

Stars

Watchers

Forks