summaryrefslogtreecommitdiff
path: root/subplot/subplot.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-09-08 12:23:48 +0300
committerLars Wirzenius <liw@liw.fi>2020-10-06 12:08:24 +0300
commit746ddbc6e17d9ab8238cc4a8e3a348ccb44878b5 (patch)
tree404e18d59a99bcc516cc7f3f07d12a168967f165 /subplot/subplot.yaml
parent4819295206d7e1ef2f384dd8b66259434181a3d7 (diff)
downloaddebian-ansible-746ddbc6e17d9ab8238cc4a8e3a348ccb44878b5.tar.gz
test: add a subplot to verify the roles work
Diffstat (limited to 'subplot/subplot.yaml')
-rw-r--r--subplot/subplot.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/subplot/subplot.yaml b/subplot/subplot.yaml
new file mode 100644
index 0000000..01c85f5
--- /dev/null
+++ b/subplot/subplot.yaml
@@ -0,0 +1,15 @@
+- given: a host running Debian
+ function: create_vm
+ cleanup: destroy_vm
+
+- then: I can run /bin/true on the host
+ function: run_true_on_host
+
+- when: I use role {role}
+ function: use_role_in_playbook
+
+- when: I use variables from {filename}
+ function: set_vars_file
+
+- when: I run the playbook
+ function: run_playbook