From 10b9715cb64f09dbf903b686002824e2107d3fd5 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 1 Nov 2020 10:05:10 +0200 Subject: sane_debian_system: check that debian_codename is set --- roles/sane_debian_system/subplot.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'roles') 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 +~~~ -- cgit v1.2.1