- name: Install needed packages apt: name: '{{ packages }}' state: latest vars: packages: - tmux - htop - bash-completion - git-core register: apt # More info https://github.com/influxdata/docs.influxdata.com/blob/master/content/influxdb/v1.5/supported_protocols/udp.md # Requested by Aliaksei Zhuk on 29-11-2018 8:48 - name: Configure net.core.rmem_* sysctl for InfluxDB UDP sysctl: name: '{{ item }}' value: 209715200 with_items: - net.core.rmem_max - net.core.rmem_default # More info https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html # Requested by Aliaksei Zhuk on 29-11-2018 8:48 - name: Configure vm.max_map_count sysctl for ElasticSearch sysctl: name: vm.max_map_count value: 262144