Update windows/restart_service.yml

This commit is contained in:
David Lopez 2023-08-23 07:44:21 +00:00
parent 58c13d65b7
commit 8ec37ce9e2
1 changed files with 2 additions and 7 deletions

View File

@ -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