feat!: disable facts injection for security purpose
This commit is contained in:
parent
b33a29d0d9
commit
0829d7807f
9 changed files with 36 additions and 34 deletions
|
@ -168,11 +168,11 @@
|
|||
block:
|
||||
- name: '[system] login.defs'
|
||||
ansible.builtin.template:
|
||||
src: '../templates/system/{{ ansible_distribution | lower }}/login.defs.j2'
|
||||
src: '../templates/system/{{ ansible_facts["distribution"] | lower }}/login.defs.j2'
|
||||
dest: /etc/login.defs
|
||||
mode: '0644'
|
||||
- name: '[system] limits.conf'
|
||||
ansible.builtin.template:
|
||||
src: '../templates/system/{{ ansible_distribution | lower }}/limits.conf.j2'
|
||||
src: '../templates/system/{{ ansible_facts["distribution"] | lower }}/limits.conf.j2'
|
||||
dest: /etc/security/limits.conf
|
||||
mode: '0644'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue