From 540758fd38fb468f691c08c8ae6b3d2a4095f44f Mon Sep 17 00:00:00 2001 From: Gilles Mouchet Date: Wed, 22 May 2024 17:11:26 +0200 Subject: [PATCH] add defauts + asseet-vars --- assert-vars.yml | 4 ---- defaults/main.yml | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/assert-vars.yml b/assert-vars.yml index 7395ccf..786db85 100644 --- a/assert-vars.yml +++ b/assert-vars.yml @@ -1,8 +1,4 @@ - name: verify if vars are defined and not empty assert: that: - - "{{ item }} is defined and {{ item }}|length > 0" - fail_msg: "'{{ item }}' is not defined or empty" - success_msg: "'{{ item }} ' is defined" - with_items: - mail_domain \ No newline at end of file diff --git a/defaults/main.yml b/defaults/main.yml index a70172d..3430817 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,6 +1,6 @@ --- #postfix -#mail_domain: gmotech.dyndns.org +mail_domain: gmotech.dyndns.org #mail_relay_host: smtpauths.bluewin.ch #mail_relay_host: smtp.gmail.com # DNS