From 186c4e11c7832eeb676409171d401a0ba2864f2a Mon Sep 17 00:00:00 2001 From: Neha Ojha Date: Fri, 3 Aug 2018 20:32:58 +0000 Subject: [PATCH] infrastructure-playbooks/lv-create.yml: don't use action to copy Signed-off-by: Neha Ojha --- infrastructure-playbooks/lv-create.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/infrastructure-playbooks/lv-create.yml b/infrastructure-playbooks/lv-create.yml index 9d5e64096..c485c8a63 100644 --- a/infrastructure-playbooks/lv-create.yml +++ b/infrastructure-playbooks/lv-create.yml @@ -70,11 +70,8 @@ - "{{ hdd_devices }}" # Write ending configuration logfile - - name: write output for osds.yml to logfile - action: template src=templates/logfile.j2 dest=/tmp/logfile.txt - delegate_to: localhost - - - name: Print closing message - debug: - msg: "Wrote yaml for osds.yml to /tmp/logfile.txt" + - name: write output for osds.yml to logfile /tmp/logfile.txt + template: + src: templates/logfile.j2 + dest: /tmp/logfile.txt delegate_to: localhost