]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
infrastructure-playbooks/lv-create.yml: don't use action to copy
authorNeha Ojha <nojha@redhat.com>
Fri, 3 Aug 2018 20:32:58 +0000 (20:32 +0000)
committerSébastien Han <seb@redhat.com>
Thu, 16 Aug 2018 14:38:23 +0000 (16:38 +0200)
Signed-off-by: Neha Ojha <nojha@redhat.com>
infrastructure-playbooks/lv-create.yml

index 9d5e64096e3fdec0096e6a4f1f1a03e89eea3025..c485c8a631dbba917dabe22bcf7afabf10ad4387 100644 (file)
       - "{{ 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