diff --git a/templates/800_network-hostname.yaml.tt2 b/templates/800_network-hostname.yaml.tt2 index 7377eec..658144a 100644 --- a/templates/800_network-hostname.yaml.tt2 +++ b/templates/800_network-hostname.yaml.tt2 @@ -15,7 +15,7 @@ command: hostname: exit-status: 0 -{{if .Vars.SKIP_STRICT_HOSTNAME_TEST}} +{{if not .Vars.SKIP_STRICT_HOSTNAME_TEST}} hostname: exit-status: 0 stdout: diff --git a/templates/goss.yaml.tt2 b/templates/goss.yaml.tt2 index 95b4a29..eacd14c 100644 --- a/templates/goss.yaml.tt2 +++ b/templates/goss.yaml.tt2 @@ -24,7 +24,7 @@ gossfile: 610_kernel-sysctl-params.yaml: {} 615_kernel-modules.yaml: {} 800_network-hostname.yaml: {} -{{if .Vars.SKIP_DNS_CHECK_TEST}} +{{if not .Vars.SKIP_DNS_CHECK_TEST}} 810_network-dns-debian.yaml: {} [% IF general.ngcp_type == 'spce' -%] 811_network-dns-ngcp-ce.yaml: {}