From fbdb8d92af41b3c48b69a17efb214b009ca86b39 Mon Sep 17 00:00:00 2001 From: Mauro Torrez Date: Sat, 7 Sep 2019 19:32:19 -0300 Subject: [PATCH] arreglo bug --- tasks/lookup_tables.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/lookup_tables.yml b/tasks/lookup_tables.yml index 5c6834a..313c6c6 100644 --- a/tasks/lookup_tables.yml +++ b/tasks/lookup_tables.yml @@ -31,7 +31,7 @@ {% endif %}{% endfor %} dest: "{{ postfix_mail_domains[domain].user_lookup.file | default('/etc/postfix/'+domain+'_users') | - replace_regexp('^/etc/postfix',postfix_mountpoint) }}" + regex_replace('^/etc/postfix',postfix_mountpoint) }}" marker: "# {mark} ANSIBLE-MANAGED USERS" create: yes when: @@ -46,7 +46,7 @@ {% endfor %} dest: "{{ postfix_mail_domains[domain].user_lookup.file | default('/etc/postfix/'+domain+'_aliases') | - replace_regexp('^/etc/postfix',postfix_mountpoint) }}" + regex_replace('^/etc/postfix',postfix_mountpoint) }}" marker: "# {mark} ANSIBLE-MANAGED ALIASES" create: yes when: @@ -61,5 +61,5 @@ {% endfor %} dest: "{{ postfix_mail_domains[domain].noreply_file | default('/etc/postfix/'+domain+'_noreply') | - replace_regexp('^/etc/postfix',postfix_mountpoint) }}" + regex_replace('^/etc/postfix',postfix_mountpoint) }}" notify: postmap no reply aliases