3 "ansible_roles_path": ".galaxy",
6 "cloud_auth_url": null,
11 "cloud_user_data": null,
18 "image_name": "{{user `distro`}} - redis - {{user `arch`}} - {{isotime \"20180101-1003\"}}",
19 "source_image_name": "{{user `base_image`}}",
21 "identity_endpoint": "{{user `cloud_auth_url`}}",
22 "username": "{{user `cloud_user`}}",
23 "password": "{{user `cloud_pass`}}",
24 "tenant_name": "{{user `cloud_tenant`}}",
25 "domain_name": "Default",
28 "{{user `cloud_network`}}"
30 "user_data_file": "{{user `cloud_user_data`}}",
31 "ssh_username": "{{user `ssh_user`}}",
32 "ssh_proxy_host": "{{user `ssh_proxy_host`}}",
33 "flavor": "v1-standard-1",
43 "common-packer/provision/install-python.sh"
45 "execute_command": "chmod +x {{ .Path }}; if [ \"$UID\" == \"0\" ]; then {{ .Vars }} '{{ .Path }}'; else {{ .Vars }} sudo -E '{{ .Path }}'; fi"
48 "type": "shell-local",
49 "command": "./common-packer/ansible-galaxy.sh {{user `ansible_roles_path`}}"
53 "playbook_file": "provision/redis.yaml",
56 "ANSIBLE_PIPELINING=True",
57 "ANSIBLE_ROLES_PATH={{user `ansible_roles_path`}}",
58 "ANSIBLE_CALLBACK_WHITELIST=profile_tasks",
59 "ANSIBLE_STDOUT_CALLBACK=debug"