Checkpoint
This commit is contained in:
parent
c501435876
commit
6f5266b63d
42 changed files with 652 additions and 136 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue