Configure inotify limits;Filter updating image references
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -1,17 +1,7 @@
|
||||
- name: Disable tty logins
|
||||
import_tasks: tty.yml
|
||||
|
||||
- name: Remove snapd
|
||||
import_tasks: snapd.yml
|
||||
|
||||
- name: Remove cloud-init
|
||||
import_tasks: cloud-init.yml
|
||||
|
||||
- name: Configure default logging
|
||||
import_tasks: logging.yml
|
||||
|
||||
- name: Configure services
|
||||
import_tasks: services.yml
|
||||
|
||||
- name: Install packages
|
||||
import_tasks: packages.yml
|
||||
- import_tasks: tty.yml
|
||||
- import_tasks: snapd.yml
|
||||
- import_tasks: cloud-init.yml
|
||||
- import_tasks: logging.yml
|
||||
- import_tasks: services.yml
|
||||
- import_tasks: packages.yml
|
||||
- import_tasks: sysctl.yml
|
||||
|
11
ansible/roles/os/tasks/sysctl.yml
Normal file
11
ansible/roles/os/tasks/sysctl.yml
Normal file
@ -0,0 +1,11 @@
|
||||
- name: Configure inotify limits
|
||||
ansible.posix.sysctl:
|
||||
name: "{{ item.name }}"
|
||||
value: "{{ item.value }}"
|
||||
loop:
|
||||
- name: fs.inotify.max_user_instances
|
||||
value: '512'
|
||||
- name: fs.inotify.max_user_watches
|
||||
value: '524288'
|
||||
loop_control:
|
||||
label: "{{ item.name ~ '=' ~ item.value }}"
|
Reference in New Issue
Block a user