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