Skip to content

Commit 6319446

Browse files
committed
Update README.md
1 parent 359ec8c commit 6319446

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ to `private_ip` before running the playbook, like:
147147

148148
TF_KEY_NAME=private_ip ansible-playbook --inventory-file=/path/to/terraform-inventory deploy/playbook.yml
149149

150+
When using the same terraform module multiple times, the resources have the same name and overwrite themselves. It is therefore possible to set the environment variable TF_ADD_MODULE_PATH to add the module path to the base name.
151+
152+
TF_ADD_MODULE_PATH=true ansible-playbook --inventory-file=/path/to/terraform-inventory deploy/playbook.yml
150153
## Development
151154

152155
It's just a Go app, so the usual:

0 commit comments

Comments
 (0)