--- - import_tasks: rsyslog-server.yml - import_tasks: rsyslog-logstash.yml when: rsyslog_send_to_elasticsearch