summaryrefslogtreecommitdiff
path: root/examples/winremote_exec_winrm.yml
blob: 28e6afbd86cd5923cabf64cdd5f6576b962f2e16 (plain)
1
2
3
4
5
6
7
8
9
tasks:

  - name: Ejecutar comando remoto en Windows vía WinRM (WS-Manager)
    module: winremote_exec_winrm
    args:
      winuser: guillermo
      winpassword: puertas
      command: "cmd.exe /c echo hola > C:\\salida.txt"