--- - name: Install dlib dnf: name: - python3-dlib - pam_python state: present become: yes - name: Enable copr principis/howdy community.general.copr: name: principis/howdy state: enabled become: yes - name: Install howdy dnf: name: howdy state: present become: yes - name: Configure video device for Howdy replace: path: /lib64/security/howdy/config.ini regexp: '(^device_path\s=\s)(.*)$' replace: '\1{{ video_device }}' backup: yes become: yes - name: Configure Howdy for sudo ansible.builtin.lineinfile: path: /etc/pam.d/sudo line: "auth sufficient pam_python.so /lib64/security/howdy/pam.py" become: yes - name: Configure Howdy for Gnome login ansible.builtin.lineinfile: path: /etc/pam.d/gdm-password insertafter: 'pam_selinux_permit.so' line: "auth sufficient pam_python.so /lib64/security/howdy/pam.py" become: yes