github.com/amanya/packer@v0.12.1-0.20161117214323-902ac5ab2eb6/test/fixtures/provisioner-ansible/sftp.json (about) 1 { 2 "variables": {}, 3 "provisioners": [ 4 { 5 "type": "shell", 6 "inline": [ 7 "apt-get update", 8 "apt-get -y install python openssh-sftp-server", 9 "ls -l /usr/lib", 10 "#/usr/lib/sftp-server -?" 11 ] 12 }, { 13 "type": "ansible", 14 "playbook_file": "./playbook.yml", 15 "sftp_command": "/usr/lib/sftp-server -e -l INFO", 16 "use_sftp": true 17 } 18 ], 19 "builders": [ 20 { 21 "type": "googlecompute", 22 "account_file": "{{user `account_file`}}", 23 "project_id": "{{user `project_id`}}", 24 25 "image_name": "packerbats-sftp-{{timestamp}}", 26 "source_image": "debian-7-wheezy-v20141108", 27 "zone": "us-central1-a" 28 } 29 ] 30 }