But i'd love to combine workspaces with the ansible environments directories. So, when I run "terraform apply" in the workspace "staging", It could be really nice to run ansible with the directory of vars "staging" in ansible.
Do you think that is possible ?
Hello,
There is a way to use workspaces like environments ?
Actual behavior
Actually, I'm used to manipulate environments with ansible like this :
When I run the playbook on env staging, I do :
$ ansible-playbook -i staging/inventory playbook.yml
And it works like a charm...
Since a few months, I'm working with terraform and make a large use of workspaces like environments :
Expected behavior
But i'd love to combine workspaces with the ansible environments directories. So, when I run "terraform apply" in the workspace "staging", It could be really nice to run ansible with the directory of vars "staging" in ansible. Do you think that is possible ?
I hope i'm enough clear...
Thx a lot and sorry for my poor english :)