You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while running this task packer always creates a dynamic inventory which does not include my group_vars:
ansible-playbook -e ... -i hosts/hosts.preprev/packer-provisioner-ansible441481275 ..ansible/packer/playbooks/frontend.yml
How do I add already defined inventory variables to such a packer host?
The text was updated successfully, but these errors were encountered:
This issue was originally opened by @jesusch as hashicorp/packer#9540. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.
I have multiple inventory files per environment:
any of those inventories has group_vars for e.g. frontend servers
my packer.json file looks like:
while running this task packer always creates a dynamic inventory which does not include my group_vars:
ansible-playbook -e ... -i hosts/hosts.preprev/packer-provisioner-ansible441481275 ..ansible/packer/playbooks/frontend.yml
How do I add already defined inventory variables to such a packer host?
The text was updated successfully, but these errors were encountered: