2023-08-22 11:51:06 +00:00
|
|
|
---
|
|
|
|
- hosts: win
|
|
|
|
ansible_user: administrador
|
|
|
|
ansible_password: 1234
|
|
|
|
ansible_port: 5985
|
|
|
|
ansible_connection: winrm
|
|
|
|
ansible_winrm_server_cert_validation: ignore
|
|
|
|
tasks:
|
|
|
|
- name: Stop service Tomcat
|
|
|
|
win_service:
|
|
|
|
name: WSearch
|
|
|
|
state: stopped
|