Pārlūkot izejas kodu

inotfy watch tweak

master
vecāks
revīzija
946b3d9312
3 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      defaults/main.yaml
  2. +1
    -0
      tasks/main.yaml
  3. +7
    -0
      tasks/tweaks.yaml

+ 2
- 0
defaults/main.yaml Parādīt failu

@@ -31,3 +31,5 @@ debian_security_sources: "{{debian_sources}}"

common_package_intallation: true
microcode_update: false

increase_maximum_inotify_user_watches: true

+ 1
- 0
tasks/main.yaml Parādīt failu

@@ -28,6 +28,7 @@
when: not ansible_bender is defined

- import_tasks: network.yaml
- import_tasks: tweaks.yaml

# shell setup
- import_tasks: shells/fish.yaml


+ 7
- 0
tasks/tweaks.yaml Parādīt failu

@@ -0,0 +1,7 @@
---

- name: increase maximum of inotify user watches
ansible.posix.sysctl:
name: fs.inotify.max_user_watches
value: 524288
sysctl_set: yes