| --- | |
| # tasks file for opdk-setup-os-ds | |
| - name: Update ipv4 tcp timeout for cassandra | |
| sysctl: | |
| name: net.ipv4.tcp_fin_timeout | |
| value: '{{ apigee_net_ipv4_tcp_fin_timeout }}' | |
| state: present | |
| - name: Update vm max map count for cassandra | |
| sysctl: | |
| name: vm.max_map_count | |
| value: '{{ apigee_max_map_count }}' | |
| state: present | |
| - name: Update limits.conf | |
| copy: | |
| src: apigee.limits.conf | |
| dest: /etc/security/limits.d/apigee.limits.conf | |
| owner: root | |
| group: root | |
| mode: 0644 |