packer-cn/test/fixtures/provisioner-ansible/sftp.json

23 lines
570 B
JSON

{
"variables": {},
"provisioners": [
{
"type": "ansible",
"playbook_file": "./playbook.yml",
"sftp_command": "/usr/lib/sftp-server -e -l INFO",
"use_sftp": true
}
],
"builders": [
{
"type": "googlecompute",
"account_file": "{{user `account_file`}}",
"project_id": "{{user `project_id`}}",
"image_name": "packerbats-sftp-{{timestamp}}",
"source_image": "debian-8-jessie-v20161027",
"zone": "us-central1-a",
"ssh_username": "debian"
}
]
}