probando templates en yaml
This commit is contained in:
parent
81ed0e24ec
commit
7c83ecaa1b
@ -2,26 +2,27 @@
|
||||
- name: Instalar Dovecot
|
||||
apt:
|
||||
state: present
|
||||
name:
|
||||
- dovecot-lmtpd
|
||||
name: >-
|
||||
[ dovecot-lmtpd,
|
||||
{% if any([dovecot_proto_imap_enable, dovecot_proto_imaps_enable]) -%}
|
||||
- dovecot-imapd
|
||||
dovecot-imapd,
|
||||
{% endif %}
|
||||
{% if any([dovecot_proto_pop3_enable, dovecot_proto_pop3s_enable]) -%}
|
||||
- dovecot-pop3d
|
||||
dovecot-pop3d,
|
||||
{% endif %}
|
||||
{% if dovecot_ldap_enable -%}
|
||||
- dovecot-ldap
|
||||
dovecot-ldap,
|
||||
{% endif %}
|
||||
{% if dovecot_sieve_enable -%}
|
||||
- dovecot-sieve
|
||||
dovecot-sieve,
|
||||
{% endif %}
|
||||
{% if dovecot_proto_managesieve_enable -%}
|
||||
- dovecot-managesieved
|
||||
dovecot-managesieved,
|
||||
{% endif %}
|
||||
{% if dovecot_antispam_enable -%}
|
||||
- dovecot-antispam
|
||||
dovecot-antispam,
|
||||
{% endif %}
|
||||
]
|
||||
|
||||
- name: Directorios de configuración de Dovecot
|
||||
file:
|
||||
|
Loading…
x
Reference in New Issue
Block a user