mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-12-22 10:58:29 +00:00
fix hardening
This commit is contained in:
parent
a283fd378f
commit
d20f9a5e61
@ -35,18 +35,18 @@
|
|||||||
|
|
||||||
- name: Override system-auth and password-auth
|
- name: Override system-auth and password-auth
|
||||||
copy:
|
copy:
|
||||||
src: "etc/authselect/custom/sssd-aoc/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}-system-auth"
|
src: "etc/authselect/custom/sssd-rocky/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}-system-auth"
|
||||||
dest: "{{ item }}"
|
dest: "{{ item }}"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
loop:
|
loop:
|
||||||
- /etc/authselect/custom/sssd-aoc/system-auth
|
- /etc/authselect/custom/sssd-rocky/system-auth
|
||||||
- /etc/authselect/custom/sssd-aoc/password-auth
|
- /etc/authselect/custom/sssd-rocky/password-auth
|
||||||
|
|
||||||
- name: Select New Profile
|
- name: Select New Profile
|
||||||
command: >
|
command: >
|
||||||
/usr/bin/authselect select custom/sssd-aoc
|
/usr/bin/authselect select custom/sssd-rocky
|
||||||
without-nullok
|
without-nullok
|
||||||
with-faillock
|
with-faillock
|
||||||
with-mkhomedir
|
with-mkhomedir
|
||||||
|
2
ansible/playbooks/vars/ipaserver.yml
Normal file
2
ansible/playbooks/vars/ipaserver.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
ipatype: server
|
Loading…
Reference in New Issue
Block a user