diff --git a/roles/jetbrains/tasks/main.yml b/roles/jetbrains/tasks/main.yml index aa100b2..5a2f639 100644 --- a/roles/jetbrains/tasks/main.yml +++ b/roles/jetbrains/tasks/main.yml @@ -1,2 +1,9 @@ --- +- stat: + path: /usr/local/bin/jetbrains-toolbox + register: toolbox_binary + - import_tasks: jetbrains-toolbox.yml + when: not toolbox_binary.stat.exists + +- import_tasks: system-setup.yml diff --git a/roles/jetbrains/tasks/system-setup.yml b/roles/jetbrains/tasks/system-setup.yml new file mode 100644 index 0000000..c459f33 --- /dev/null +++ b/roles/jetbrains/tasks/system-setup.yml @@ -0,0 +1,7 @@ +--- +- name: "Increase inotify for Jetbrains IDE's" + become: yes + ansible.posix.sysctl: + name: fs.inotify.max_user_watches + value: 524288 + state: present \ No newline at end of file