summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-11-01 10:05:10 +0200
committerLars Wirzenius <liw@liw.fi>2020-11-01 10:05:10 +0200
commit10b9715cb64f09dbf903b686002824e2107d3fd5 (patch)
treef3ebb1e4dacb00ab10a2a8bb62909dd74818b10f /roles
parent32ab130707616ed01aed81e8b10dc63f445d2278 (diff)
downloaddebian-ansible-10b9715cb64f09dbf903b686002824e2107d3fd5.tar.gz
sane_debian_system: check that debian_codename is set
Diffstat (limited to 'roles')
-rw-r--r--roles/sane_debian_system/subplot.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/sane_debian_system/subplot.md b/roles/sane_debian_system/subplot.md
index b9c47e9..af2a53f 100644
--- a/roles/sane_debian_system/subplot.md
+++ b/roles/sane_debian_system/subplot.md
@@ -25,3 +25,18 @@ sane_debian_system_version: 0
debian_codename: buster
hostname: saneone
~~~
+
+## Checks that debian codename is set
+
+~~~scenario
+given a host running Debian
+when I use role sane_debian_system
+and I use variables from sane2.yml
+and I try to run the playbook
+then the command fails
+and stdout contains "debian_codename"
+~~~
+
+~~~{#sane2.yml .file .yaml}
+sane_debian_system_version: 0
+~~~