summaryrefslogtreecommitdiff
path: root/roles/sane_debian_system/subplot.md
blob: b9c47e99befae7ae443ce7c7316af874efac3310 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Role `sane_debian_system` – 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
and the host has hostname saneone
and the host has saneone in /etc/hosts for 127.0.1.1
~~~

~~~{#sane1.yml .file .yaml}
sane_debian_system_version: 0

debian_codename: buster
hostname: saneone
~~~