Compare commits

..

2 commits

Author SHA1 Message Date
3b7eb0dd2c remove echo from vault password prompt 2023-02-25 18:11:41 +01:00
3905102939 autostart keepassxc 2023-02-25 18:09:15 +01:00
3 changed files with 21 additions and 1 deletions

View file

@ -0,0 +1,17 @@
[Desktop Entry]
Name=KeePassXC
GenericName=Password Manager
Exec=/usr/bin/keepassxc
TryExec=/usr/bin/keepassxc
Icon=keepassxc
StartupWMClass=keepassxc
StartupNotify=true
Terminal=false
Type=Application
Version=1.0
Categories=Utility;Security;Qt;
MimeType=application/x-keepass2;
X-GNOME-Autostart-enabled=true
X-GNOME-Autostart-Delay=2
X-KDE-autostart-after=panel
X-LXQt-Need-Tray=true

View file

@ -28,3 +28,7 @@
option: AuthSockOverride option: AuthSockOverride
value: "{{ ssh_agent_socket }}" value: "{{ ssh_agent_socket }}"
no_extra_spaces: true no_extra_spaces: true
- name: Autostart keepassxc
copy:
src: "{{ role_path }}/files/org.keepassxc.KeePassXC.desktop"
dest: ~/.config/autostart/org.keepassxc.KeePassXC.desktop

View file

@ -4,7 +4,6 @@ pass=`secret-tool lookup ansible_vault setup`
retval=$? retval=$?
if [ $retval -ne 0 ]; then if [ $retval -ne 0 ]; then
echo Provide password:
read -s pass read -s pass
fi fi
echo $pass echo $pass