From 92beb676e846dce384f4c346c4306ca36e22630a Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 18 Sep 2023 19:21:38 +0300 Subject: [PATCH] just one dot --- tasks/configure_ovh.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/configure_ovh.yml b/tasks/configure_ovh.yml index 71fec2c..55a28bd 100644 --- a/tasks/configure_ovh.yml +++ b/tasks/configure_ovh.yml @@ -28,4 +28,4 @@ loop: "{{ mail_domains }}" when: - "'.local' not in item" - - item | regex_findall('\.') | length < 2 + - item | regex_findall('\.') | length == 1