Handle running `scp -t` and `scp -f` exec requests in the ansible-provisioner's SSH server to allow Ansible to use SCP so that SFTP doesn't have to be installed on the node. Update the BATS tests to test the ansible provisioner.
20 lines
454 B
JSON
20 lines
454 B
JSON
{
|
|
"variables": {},
|
|
"provisioners": [
|
|
{
|
|
"type": "ansible",
|
|
"playbook_file": "./playbook.yml"
|
|
}
|
|
],
|
|
"builders": [
|
|
{
|
|
"type": "googlecompute",
|
|
"account_file": "{{user `account_file`}}",
|
|
"project_id": "{{user `project_id`}}",
|
|
"image_name": "packerbats-minimal-{{timestamp}}",
|
|
"source_image": "debian-7-wheezy-v20141108",
|
|
"zone": "us-central1-a"
|
|
}
|
|
]
|
|
}
|