summaryrefslogtreecommitdiff
path: root/ssh-config.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <lwirzenius@wikimedia.org>2020-03-06 16:21:29 +0200
committerLars Wirzenius <lwirzenius@wikimedia.org>2020-03-06 16:21:29 +0200
commitd4acd873b02e7f0a2d2695309a3b2790fe12984e (patch)
tree697e23d0adcdb234c61f36d6c3d054565e6bdb49 /ssh-config.yaml
downloadwmf-ssh-config-d4acd873b02e7f0a2d2695309a3b2790fe12984e.tar.gz
Add: first version
Diffstat (limited to 'ssh-config.yaml')
-rw-r--r--ssh-config.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/ssh-config.yaml b/ssh-config.yaml
new file mode 100644
index 0000000..376fe44
--- /dev/null
+++ b/ssh-config.yaml
@@ -0,0 +1,5 @@
+- when: I run ssh (?P<host>\S+) (?P<cmd>.+)
+ function: run_ssh
+
+- then: the output matches /(?P<regex>.+)/
+ function: stdout_matches