Compare commits
2 commits
3d5044ab1b
...
3b7eb0dd2c
Author | SHA1 | Date | |
---|---|---|---|
3b7eb0dd2c | |||
3905102939 |
3 changed files with 21 additions and 1 deletions
17
roles/keepassxc/files/org.keepassxc.KeePassXC.desktop
Normal file
17
roles/keepassxc/files/org.keepassxc.KeePassXC.desktop
Normal 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
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Reference in a new issue