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