github.com/StackPointCloud/packer@v0.10.2-0.20180716202532-b28098e0f79b/test/fixtures/provisioner-ansible/win-playbook.yml (about)

     1  ---
     2  - hosts: default:packer-test
     3    gather_facts: no
     4    tasks:
     5      #- debug: msg="testing regular modules that function with Windows: raw, fetch, slurp, setup"
     6      - name: raw test
     7        raw: date /t
     8      - debug: msg="testing windows modules"
     9        #- win_file: path=tmp/remote-dir state=directory
    10        #- name: win_shell test
    11        #win_shell: date /t
    12      - name: win_copy test
    13        win_copy: src=dir/file.txt dest=file.txt
    14        #- win_copy: src=dir/file.txt dest=/tmp/remote-dir/file.txt
    15        #- fetch: src=/tmp/remote-dir/file.txt dest=fetched-dir validate=yes fail_on_missing=yes
    16        #- win_copy: src=largish-file.txt dest=/tmp/largish-file.txt
    17      - debug: msg="packer does not support downloading from windows"