Add manage_postfix conditional
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful

Allow local MTA management to be disabled for hosts which need a custom
configuration.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
Georg Pfuetzenreuter 2023-05-02 21:11:57 +02:00
parent ffbd2dc4c3
commit 3789895228
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57

View File

@ -12,7 +12,9 @@ include:
- users - users
{%- endif %} {%- endif %}
- .ssh - .ssh
{%- if salt['pillar.get']('manage_postfix', True) %}
- postfix.config - postfix.config
{%- endif %}
{#- to-do: move this to some formula or macro -#} {#- to-do: move this to some formula or macro -#}
{%- set osfullname = grains['osfullname'] -%} {%- set osfullname = grains['osfullname'] -%}