},
"builders": [
{
- "name": "vexxhost",
+ "name": "openstack",
"image_name": "{{user `distro`}} - redis - {{user `arch`}} - {{isotime \"20180101-1003\"}}",
"source_image_name": "{{user `base_image`}}",
"type": "openstack",
"tenant_name": "{{user `cloud_tenant`}}",
"domain_name": "Default",
"region": "ca-ymq-1",
- "availability_zone": "ca-ymq-2",
"networks": [
"{{user `cloud_network`}}"
],
"provisioners": [
{
"type": "shell",
- "scripts": [
- "common-packer/provision/install-python.sh"
- ],
+ "scripts": ["common-packer/provision/install-python.sh"],
"execute_command": "chmod +x {{ .Path }}; if [ \"$UID\" == \"0\" ]; then {{ .Vars }} '{{ .Path }}'; else {{ .Vars }} sudo -E '{{ .Path }}'; fi"
},
{
},
{
"type": "ansible",
+ "command": "./common-packer/ansible-playbook.sh",
+ "skip_version_check": true,
"playbook_file": "provision/redis.yaml",
"ansible_env_vars": [
"ANSIBLE_NOCOWS=1",