From b986da379c11e3f46f4d4bd1f1a2085184c56d79 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Thu, 14 Sep 2017 10:50:50 +0000 Subject: [PATCH] configuration files to home directory --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 7674af3..46b7048 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -7,12 +7,12 @@ - name: configuration pull directory local_action: file args: - path: host_files/{{inventory_hostname}}/etc + path: ~/host_files/{{inventory_hostname}}/etc state: directory - name: pull configuration synchronize: src: /etc/postfix - dest: host_files/{{inventory_hostname}}/etc/ + dest: ~/host_files/{{inventory_hostname}}/etc/ mode: pull recursive: true