diff --git a/windows/restart_service.yml b/windows/restart_service.yml index 3c1b3ce..f6f2df6 100644 --- a/windows/restart_service.yml +++ b/windows/restart_service.yml @@ -1,12 +1,7 @@ --- -- hosts: win - ansible_user: administrador - ansible_password: 1234 - ansible_port: 5985 - ansible_connection: winrm - ansible_winrm_server_cert_validation: ignore +- hosts: W2019 tasks: - - name: Stop service Tomcat + - name: Stop service WSearch win_service: name: WSearch state: stopped \ No newline at end of file