github.com/amanya/packer@v0.12.1-0.20161117214323-902ac5ab2eb6/test/fixtures/provisioner-ansible/playbook.yml (about) 1 --- 2 - hosts: default:packer-test 3 gather_facts: no 4 tasks: 5 - raw: touch /root/ansible-raw-test 6 - raw: date 7 - command: echo "the command module" 8 - command: mkdir /tmp/remote-dir 9 args: 10 creates: /tmp/remote-dir 11 - copy: src=dir/file.txt dest=/tmp/remote-dir/file.txt 12 - fetch: src=/tmp/remote-dir/file.txt dest=fetched-dir validate=yes fail_on_missing=yes 13 - copy: src=largish-file.txt dest=/tmp/largish-file.txt