add defauts + asseet-vars
This commit is contained in:
parent
7060f6537a
commit
de020d3264
8
assert-vars.yml
Normal file
8
assert-vars.yml
Normal file
@ -0,0 +1,8 @@
|
||||
- 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
|
||||
7
defaults/main.yml
Normal file
7
defaults/main.yml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
#postfix
|
||||
#mail_domain: gmotech.dyndns.org
|
||||
#mail_relay_host: smtpauths.bluewin.ch
|
||||
#mail_relay_host: smtp.gmail.com
|
||||
# DNS
|
||||
#dns_domain_search: gmotech.net
|
||||
Loading…
x
Reference in New Issue
Block a user