Sfoglia il codice sorgente

inotfy watch tweak

master
parent
commit
946b3d9312
3 ha cambiato i file con 10 aggiunte e 0 eliminazioni
  1. +2
    -0
      defaults/main.yaml
  2. +1
    -0
      tasks/main.yaml
  3. +7
    -0
      tasks/tweaks.yaml

+ 2
- 0
defaults/main.yaml Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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