--- - name: restart opensearch ansible.builtin.systemd: name: opensearch daemon_reload: true state: restarted enabled: true