Hi jordan,
Do you have an example of what you're suggesting?
Mine is currently something like:
"provisioners": [
{
"type": "ansible",
"user": "{{ user `username` }}",
"playbook_file": "./ansible/site.yml",
"groups": [
"{{ user `ansible_group` }}"
],
"ansible_env_vars": [
"ANSIBLE_CONFIG=../../../ansible/ansible.cfg",
"ANSIBLE_HOST_KEY_CHECKING=False",
"ANSIBLE_SSH_ARGS='-o ForwardAgent=yes -o ControlMaster=auto -o
ControlPersist=30m'"
],
"extra_arguments": [
"-vvv",
"--extra-vars", "ansible_shell_executable=None ansible_user={{ user
`username` }} ansible_password={{ user `password` }} ansible_become_pass={{
user `password` }}",
"--connection", "packer"
]
}
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/packer-tool/6bbcd394-9356-40d3-896c-e727c943e79f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.