Add PAM password hook for gnome-keyring login

This commit is contained in:
Fabio Scotto di Santolo
2026-03-17 22:59:58 +01:00
parent f18952aa46
commit 5bb5fb19db

View File

@@ -29,6 +29,13 @@
line: "session optional pam_gnome_keyring.so auto_start"
state: present
- name: Enable gnome-keyring PAM password hook
ansible.builtin.lineinfile:
path: /etc/pam.d/login
insertafter: '^password\s+include\s+system-local-login$'
line: "password optional pam_gnome_keyring.so use_authtok"
state: present
- name: Copy desktop dotfiles
ansible.builtin.copy:
src: "{{ playbook_dir }}/../dotfiles/desktop/{{ item.src }}"