3 "ansible_roles_path": ".galaxy",
7 "cloud_user_data": null,
8 "cloud_region": "ca-ymq-1",
9 "vm_use_block_storage": "true",
10 "vm_volume_size": "20",
11 "vm_image_disk_format": "",
13 "docker_source_image": null,
14 "flavor": "v3-standard-2",
21 "image_name": "ZZCI - {{user `distro`}} - devstack - {{user `arch`}} - {{isotime \"20060102-150405.000\"}}",
22 "instance_name": "{{user `distro`}}-devstack-{{uuid}}",
23 "source_image_name": "{{user `base_image`}}",
25 "region": "{{user `cloud_region`}}",
26 "networks": ["{{user `cloud_network`}}"],
27 "user_data_file": "{{user `cloud_user_data`}}",
28 "ssh_username": "{{user `ssh_user`}}",
29 "ssh_proxy_host": "{{user `ssh_proxy_host`}}",
30 "flavor": "{{user `flavor`}}",
34 "use_blockstorage_volume": "{{user `vm_use_block_storage`}}",
35 "volume_size": "{{user `vm_volume_size`}}",
36 "image_disk_format": "{{user `vm_image_disk_format`}}"
41 "image": "{{ user `docker_source_image` }}",
43 "changes": ["ENTRYPOINT [\"\"]", "CMD [\"\"]"]
49 "scripts": ["common-packer/provision/install-python.sh"],
50 "execute_command": "chmod +x {{ .Path }}; if [ \"$UID\" == \"0\" ]; then {{ .Vars }} '{{ .Path }}'; else {{ .Vars }} sudo -E '{{ .Path }}'; fi"
53 "type": "shell-local",
54 "command": "./common-packer/ansible-galaxy.sh {{user `ansible_roles_path`}}"
58 "playbook_file": "provision/devstack.yaml",
59 "command": "./common-packer/ansible-playbook.sh",
60 "skip_version_check": true,
63 "ANSIBLE_PIPELINING=True",
64 "ANSIBLE_ROLES_PATH={{user `ansible_roles_path`}}",
65 "ANSIBLE_CALLBACK_WHITELIST=profile_tasks",
66 "ANSIBLE_STDOUT_CALLBACK=debug"