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:
parent
a0c3a7f03c
commit
a0be69b77b
@ -18,10 +18,10 @@ add it, if you think that would be useful.
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Ansible doesn't (seem to) support calling the inventory script with parameters,
|
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
|
so you can specify the path to the state file using the `TI_TFSTATE` environment
|
||||||
TI\_TFSTATE like so:
|
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:
|
Alternately, you can create a little shell script and call that. Something like:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user