- block: - name: Copy the certificates from local to the Wazuh dashboard instance copy: src: "{{ local_certs_path }}/wazuh-certificates/{{ item }}" dest: /etc/wazuh-dashboard/certs/ mode: 0644 with_items: - "root-ca.pem" - "{{ dashboard_node_name }}-key.pem" - "{{ dashboard_node_name }}.pem" tags: - security