Merge pull request #9729 from hashicorp/document_9125
document issue with ansible macros
This commit is contained in:
commit
8ea6414969
|
@ -20,6 +20,11 @@ machine being provisioned by Packer.
|
||||||
will always connect with the user given in the json config for this
|
will always connect with the user given in the json config for this
|
||||||
provisioner.
|
provisioner.
|
||||||
|
|
||||||
|
-> **Note:** Options below that use the Packer template engine won't be able to
|
||||||
|
accept jinja2 `{{ function }}` macro syntax in a way that can be preserved to
|
||||||
|
the Ansible run. If you need to set variables using Ansible macros, you need to
|
||||||
|
do so inside your playbooks or inventory files.
|
||||||
|
|
||||||
## Basic Example
|
## Basic Example
|
||||||
|
|
||||||
This is a fully functional template that will provision an image on
|
This is a fully functional template that will provision an image on
|
||||||
|
|
Loading…
Reference in New Issue