add defauts + asseet-vars
This commit is contained in:
parent
de020d3264
commit
540758fd38
@ -1,8 +1,4 @@
|
|||||||
- name: verify if vars are defined and not empty
|
- name: verify if vars are defined and not empty
|
||||||
assert:
|
assert:
|
||||||
that:
|
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
|
- mail_domain
|
||||||
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
#postfix
|
#postfix
|
||||||
#mail_domain: gmotech.dyndns.org
|
mail_domain: gmotech.dyndns.org
|
||||||
#mail_relay_host: smtpauths.bluewin.ch
|
#mail_relay_host: smtpauths.bluewin.ch
|
||||||
#mail_relay_host: smtp.gmail.com
|
#mail_relay_host: smtp.gmail.com
|
||||||
# DNS
|
# DNS
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user