kayobe/ansible/roles/sysctl/tasks/main.yml
Mark Goddard 316d16c0ec Add support for configuration of sysctl parameters
These are group-specific, and configured via the following variables:

controller_sysctl_parameters
monitoring_sysctl_parameters
seed_sysctl_parameters
seed_hypervisor_parameters
2017-08-31 17:43:18 +00:00

11 lines
282 B
YAML

---
- name: Ensure sysctl parameters are configured
sysctl:
name: "{{ item.key }}"
state: "present"
sysctl_file: "{{ sysctl_file or omit }}"
sysctl_set: "{{ sysctl_set or omit }}"
value: "{{ item.value }}"
with_dict: "{{ sysctl_parameters }}"
become: True