1
1
mirror of https://github.com/adammck/terraform-inventory synced 2024-11-23 00:12:13 +01:00

Fix README syntax

This commit is contained in:
Adam Mckaig 2015-06-04 10:20:16 -04:00
parent a0c3a7f03c
commit a0be69b77b

@ -18,10 +18,10 @@ add it, if you think that would be useful.
## Usage
Ansible doesn't (seem to) support calling the inventory script with parameters,
so you can specify the path to the state file using the environment variable
TI\_TFSTATE like so:
so you can specify the path to the state file using the `TI_TFSTATE` environment
variable, like so:
TI\_TFSTATE=deploy/terraform.tfstate ansible-playbook --inventory-file=terraform-inventory
TI_TFSTATE=deploy/terraform.tfstate ansible-playbook --inventory-file=terraform-inventory
Alternately, you can create a little shell script and call that. Something like: