summaryrefslogtreecommitdiff
path: root/subplot
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-09-16 08:51:35 +0300
committerLars Wirzenius <liw@liw.fi>2021-09-16 08:51:35 +0300
commit1a8300fd9fbe2e6f0186ddc5f2de0a390735f996 (patch)
tree0782fbfd9c7291bcad237ffd6bb5d9df007cf4fa /subplot
parentb5dbd53f4a1a3c2c15f640e2dfaf624dc3488f8a (diff)
downloaddebian-ansible-1a8300fd9fbe2e6f0186ddc5f2de0a390735f996.tar.gz
fix: add impl to bindings files for new Subplot
Sponsored-by: author
Diffstat (limited to 'subplot')
-rw-r--r--subplot/subplot.yaml34
1 files changed, 25 insertions, 9 deletions
diff --git a/subplot/subplot.yaml b/subplot/subplot.yaml
index 5993feb..cf4bd5d 100644
--- a/subplot/subplot.yaml
+++ b/subplot/subplot.yaml
@@ -1,24 +1,40 @@
- given: a host running Debian
- function: create_vm
- cleanup: destroy_vm
+ impl:
+ python:
+ function: create_vm
+ cleanup: destroy_vm
- then: I can run /bin/true on the host
- function: run_true_on_host
+ impl:
+ python:
+ function: run_true_on_host
- when: I use role {role}
- function: use_role_in_playbook
+ impl:
+ python:
+ function: use_role_in_playbook
- when: I use variables from {filename}
- function: set_vars_file
+ impl:
+ python:
+ function: set_vars_file
- when: I run the playbook
- function: run_playbook
+ impl:
+ python:
+ function: run_playbook
- when: I try to run the playbook
- function: try_playbook
+ impl:
+ python:
+ function: try_playbook
- then: the command fails
- function: command_fails
+ impl:
+ python:
+ function: command_fails
- then: stdout contains "{text:text}"
- function: xstdout_contains
+ impl:
+ python:
+ function: xstdout_contains