aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/opensearch/tasks/config-host.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/opensearch/tasks/config-host.yml')
-rw-r--r--ansible/roles/opensearch/tasks/config-host.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/opensearch/tasks/config-host.yml b/ansible/roles/opensearch/tasks/config-host.yml
index 8e092b487..014fe82e8 100644
--- a/ansible/roles/opensearch/tasks/config-host.yml
+++ b/ansible/roles/opensearch/tasks/config-host.yml
@@ -3,7 +3,7 @@
become: true
vars:
should_set: "{{ item.value != 'KOLLA_UNSET' }}"
- sysctl:
+ ansible.posix.sysctl:
name: "{{ item.name }}"
state: "{{ should_set | ternary('present', 'absent') }}"
value: "{{ should_set | ternary(item.value, omit) }}"