· 6 years ago · Aug 25, 2019, 07:52 AM
1{
2 "builders": [{
3 "type": "amazon-ebs",
4 "access_key": "",
5 "secret_key": "",
6 "region": "eu-west-1",
7 "source_ami": "",
8 "security_group_id": "",
9 "instance_type": "t3.medium",
10 "ami_name": "cpp-windows-build-{{isotime \"2006-01-02_15-04\"}}",
11 "vpc_id": "",
12 "subnet_id": "",
13 "communicator": "winrm",
14 "winrm_username": "",
15 "winrm_password": ""
16 }],
17 "provisioners": [{
18 "type": "ansible",
19 "playbook_file": "./playbook.yml",
20 "extra_arguments": [
21 "--connection", "packer",
22 "--extra-vars", "ansible_shell_type=powershell ansible_shell_executable=None", "-vvvv"
23 ]
24 }]
25}