2016-08-29 01:22:48 -04:00
|
|
|
{
|
|
|
|
"variables": {},
|
|
|
|
"provisioners": [
|
|
|
|
{
|
|
|
|
"type": "ansible",
|
|
|
|
"playbook_file": "./playbook.yml",
|
2016-09-12 02:29:24 -04:00
|
|
|
"sftp_command": "/usr/lib/sftp-server -e -l INFO",
|
|
|
|
"use_sftp": true
|
2016-08-29 01:22:48 -04:00
|
|
|
}
|
2016-09-12 02:29:24 -04:00
|
|
|
],
|
2016-08-29 01:22:48 -04:00
|
|
|
"builders": [
|
|
|
|
{
|
|
|
|
"type": "googlecompute",
|
|
|
|
"account_file": "{{user `account_file`}}",
|
|
|
|
"project_id": "{{user `project_id`}}",
|
|
|
|
"image_name": "packerbats-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-08-29 01:22:48 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|