update..
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user