From 8340f5c896a4166d07042b16446b68319ebe8ea8 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Wed, 13 Sep 2017 23:31:56 +0000 Subject: [PATCH] correct dovecot packages --- tasks/main.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 8590a11..8f8ff67 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -2,4 +2,20 @@ - name: install package apt: - pkg: dovecot + pkg: "{{ item }}" + with_items: + - dovecot-imapd + - dovecot-lmptd + +- name: configuration pull directory + local_action: file + args: + path: host_files/{{inventory_hostname}}/etc + state: directory + +- name: pull configuration + synchronize: + src: /etc/dovecot + dest: host_files/{{inventory_hostname}}/etc/ + mode: pull + recursive: true