This commit is contained in:
2022-01-15 15:24:33 +01:00
parent 4e57b41453
commit 08ae4e6bff
7 changed files with 346 additions and 97 deletions

View File

@ -86,22 +86,3 @@
tags:
- systctl-config
#- name: (basic.yml) Check file '/etc/systemd/system.conf' exists
# stat:
# path: /etc/systemd/system
# register: etc_systemd_system_conf
# when:
# - set_default_limit_nofile|bool == true
#
#- name: (basic.yml) Change DefaultLimitNOFILE to 1048576
# lineinfile:
# dest: /etc/systemd/system.conf
# state: present
# regexp: '^DefaultLimitNOFILE'
# line: 'DefaultLimitNOFILE=1048576'
# insertafter: '^#DefaultLimitNOFILE'
# when:
# - set_default_limit_nofile|bool == true
# - etc_systemd_system_conf.stat.exists == true
# tags:
# - systemd-nofiles