summaryrefslogtreecommitdiff
path: root/roles/sane_debian_system/subplot.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-10-10 14:56:50 +0300
committerLars Wirzenius <liw@liw.fi>2020-10-10 18:08:19 +0300
commita1525abd6b3db65f5ebe3a6f7dbb2a9f749eb1a6 (patch)
treeb53cfbaffd7973ff1f00307c1874ed38ca74ae2e /roles/sane_debian_system/subplot.md
parentbba8e8809d05f809ef353568305d69214186dced (diff)
downloaddebian-ansible-a1525abd6b3db65f5ebe3a6f7dbb2a9f749eb1a6.tar.gz
test(sane_debian_system): add subplot scenarios
Diffstat (limited to 'roles/sane_debian_system/subplot.md')
-rw-r--r--roles/sane_debian_system/subplot.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/roles/sane_debian_system/subplot.md b/roles/sane_debian_system/subplot.md
new file mode 100644
index 0000000..0944602
--- /dev/null
+++ b/roles/sane_debian_system/subplot.md
@@ -0,0 +1,32 @@
+# Role `sane_debian_system` &ndash; set up a manageable Debian system
+
+This role sets up a Debian system so that it can be managed with
+Ansible in a reasonable way.
+
+## Minimally sane Debian system
+
+~~~scenario
+given a host running Debian
+when I use role sane_debian_system
+and I use variables from sane1.yml
+and I run the playbook
+then the host has the sudo package installed
+and the host has the apt-transport-https package installed
+and the host has the locales package installed
+and the host has the ntp package installed
+and the host has an empty /etc/apt/sources.list.d directory
+~~~
+
+FIXME: this step doesn't work, since the role doesn't currently tell
+the kernel the new hostname.
+
+~~~
+and the host has hostname saneone
+~~~
+
+~~~{#sane1.yml .file .yaml}
+sane_debian_system_version: 0
+
+debian_codename: buster
+hostname: saneone
+~~~