2016-09-25 18:57:02 -04:00
|
|
|
{
|
|
|
|
"variables": {},
|
|
|
|
"provisioners": [
|
|
|
|
{
|
|
|
|
"type": "ansible",
|
|
|
|
"playbook_file": "./playbook.yml",
|
|
|
|
"extra_arguments": [
|
|
|
|
],
|
|
|
|
"sftp_command": "/usr/bin/false",
|
|
|
|
"use_sftp": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"builders": [
|
|
|
|
{
|
|
|
|
"type": "googlecompute",
|
|
|
|
"account_file": "{{user `account_file`}}",
|
|
|
|
"project_id": "{{user `project_id`}}",
|
|
|
|
"image_name": "packerbats-scp-to-sftp-{{timestamp}}",
|
2016-11-26 22:13:36 -05:00
|
|
|
"source_image": "debian-8-jessie-v20161027",
|
2016-09-25 18:57:02 -04:00
|
|
|
"zone": "us-central1-a",
|
2016-11-26 22:13:36 -05:00
|
|
|
"ssh_username": "debian",
|
2016-09-25 18:57:02 -04:00
|
|
|
"ssh_file_transfer_method": "sftp"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|