summaryrefslogtreecommitdiff
path: root/roles/sane_debian_system/subplot.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/sane_debian_system/subplot.yaml')
-rw-r--r--roles/sane_debian_system/subplot.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/sane_debian_system/subplot.yaml b/roles/sane_debian_system/subplot.yaml
new file mode 100644
index 0000000..b7f03cb
--- /dev/null
+++ b/roles/sane_debian_system/subplot.yaml
@@ -0,0 +1,19 @@
+- then: the host has the {package} package installed
+ impl:
+ python:
+ function: host_has_package_installed
+
+- then: the host has an empty {pathname} directory
+ impl:
+ python:
+ function: host_directory_is_empty
+
+- then: the host has hostname {hostname}
+ impl:
+ python:
+ function: host_hostname_is
+
+- then: the host has {hostname} in /etc/hosts for {addr}
+ impl:
+ python:
+ function: host_hostname_has_address