3 "ansible_roles_path": ".galaxy",
7 "cloud_auth_url": null,
10 "cloud_network": null,
12 "cloud_user_data": null,
13 "flavor": "v3-standard-2",
20 "image_name": "{{user `distro`}} - memcached - {{user `arch`}} - {{isotime \"20180101-1003\"}}",
21 "source_image_name": "{{user `base_image`}}",
23 "identity_endpoint": "{{user `cloud_auth_url`}}",
24 "username": "{{user `cloud_user`}}",
25 "password": "{{user `cloud_pass`}}",
26 "tenant_name": "{{user `cloud_tenant`}}",
27 "domain_name": "Default",
30 "{{user `cloud_network`}}"
32 "user_data_file": "{{user `cloud_user_data`}}",
33 "ssh_username": "{{user `ssh_user`}}",
34 "ssh_proxy_host": "{{user `ssh_proxy_host`}}",
35 "flavor": "{{user `flavor`}}",
45 "common-packer/provision/install-python.sh"
47 "execute_command": "chmod +x {{ .Path }}; if [ \"$UID\" == \"0\" ]; then {{ .Vars }} '{{ .Path }}'; else {{ .Vars }} sudo -E '{{ .Path }}'; fi"
50 "type": "shell-local",
51 "command": "./common-packer/ansible-galaxy.sh {{user `ansible_roles_path`}}"
55 "playbook_file": "provision/memcached.yaml",
58 "ANSIBLE_PIPELINING=True",
59 "ANSIBLE_ROLES_PATH={{user `ansible_roles_path`}}",
60 "ANSIBLE_CALLBACK_WHITELIST=profile_tasks",
61 "ANSIBLE_STDOUT_CALLBACK=debug"