diff --git a/roles/windows_manage_iis/tasks/create.yml b/roles/windows_manage_iis/tasks/create.yml index 52a0e68..45954cb 100644 --- a/roles/windows_manage_iis/tasks/create.yml +++ b/roles/windows_manage_iis/tasks/create.yml @@ -13,7 +13,6 @@ - name: Reboot when Web-Server feature requires it ansible.windows.win_reboot: - test_command: '(Get-Service -Name Netlogon).Status -ne "Running"' when: windows_manage_iis_output.reboot_required - name: Create site directory structure diff --git a/roles/windows_manage_updates/tasks/main.yml b/roles/windows_manage_updates/tasks/main.yml index 072bf39..5971ed2 100644 --- a/roles/windows_manage_updates/tasks/main.yml +++ b/roles/windows_manage_updates/tasks/main.yml @@ -20,7 +20,6 @@ - name: Reboot when required and requested ansible.windows.win_reboot: - test_command: '(Get-Service -Name Netlogon).Status -ne "Running"' when: - windows_manage_updates_output.reboot_required - windows_manage_updates_reboot_server