- name: Install Splunk (Windows) command: "msiexec /I {{ splunk_build_location }}" AGREETOLICENSE=yes LAUNCHSPLUNK=0 /passive /qn" when: ansible_system is match("CYGWIN*|Win32NT") register: install_result until: install_result is succeeded retries: "{{ retry_num }}" delay: 3