summaryrefslogtreecommitdiff
path: root/examples/winremote_exec.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/winremote_exec.yaml')
-rw-r--r--examples/winremote_exec.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/winremote_exec.yaml b/examples/winremote_exec.yaml
new file mode 100644
index 0000000..967f122
--- /dev/null
+++ b/examples/winremote_exec.yaml
@@ -0,0 +1,10 @@
+tasks:
+
+ - name: Ejecutar comando remoto en Windows vía SSH
+ module: winremote_exec
+ args:
+ winuser: guillermo
+ winpassword: puertas
+ port: 2222
+ #command: "Get-Process | Where-Object {$_.CPU -gt 1}"
+ command: "whoami"