From 6f1703216b5068db1700e3e72e04aa508e368fdb Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 18 Oct 2020 16:44:11 +0300 Subject: fix(sane_debian_system): set hostname via Ansible --- roles/sane_debian_system/subplot.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roles/sane_debian_system/subplot.yaml') diff --git a/roles/sane_debian_system/subplot.yaml b/roles/sane_debian_system/subplot.yaml index 4d7911c..9ac1ee3 100644 --- a/roles/sane_debian_system/subplot.yaml +++ b/roles/sane_debian_system/subplot.yaml @@ -6,3 +6,6 @@ - then: the host has hostname {hostname} function: host_hostname_is + +- then: the host has {hostname} in /etc/hosts for {addr} + function: host_hostname_has_address -- cgit v1.2.1