infrastructure-playbooks/lv-create.yml: don't use action to copy

Signed-off-by: Neha Ojha <nojha@redhat.com>
pull/3036/head
Neha Ojha 2018-08-03 20:32:58 +00:00 committed by Sébastien Han
parent 9d43806df9
commit 186c4e11c7
1 changed files with 4 additions and 7 deletions

View File

@ -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