diff --git a/tasks/pkg-windows.yml b/tasks/pkg-windows.yml index 8038d3b9..f07c3458 100644 --- a/tasks/pkg-windows.yml +++ b/tasks/pkg-windows.yml @@ -81,6 +81,7 @@ win_package: path: "{{ agent_download_msi_result.dest }}" arguments: "{{ agent_win_install_args }}" + expected_return_code: [0, 1603, 3010] register: agent_datadog_agent_install when: (not agent_datadog_skip_install) and (not ansible_check_mode)