Checkpoint

This commit is contained in:
Jonathan Cremin 2024-02-02 15:40:15 +00:00
parent c501435876
commit 6f5266b63d
42 changed files with 652 additions and 136 deletions

View file

@ -1,12 +1,5 @@
---
- name: Install rpmsphere-release
dnf:
name: https://github.com/rpmsphere/noarch/raw/master/r/rpmsphere-release-{{ ansible_distribution_major_version }}.noarch.rpm
state: present
disable_gpg_check: 1
become: yes
- name: Install dlib
dnf:
name:
@ -15,10 +8,10 @@
state: present
become: yes
- name: Enable copr project howdy
- name: Enable copr principis/howdy
community.general.copr:
name: luya/howdy
state: disabled
name: principis/howdy
state: enabled
become: yes
- name: Install howdy
@ -26,3 +19,24 @@
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