We are using octopus deploy for a complex multiserver deployment, these are based on Linux and we use Tentacles.
We are trying to port the deployment logic to octopus and want to know if we can achieve below steps:
where we download a package that has core ansible playbooks, create the dynamic host inventory baes on env and parameters.
Deploy package 1
Here we need to make use of the scripts that were created in above step to connect to hots and other pre package activites and deploy.
3 deploy package 3
Same, reuse the dynamic inventory created on step 1 and other dynamic files and deploy package x on servers
Each steps have a diff package, which will not have ansible playbooks created in step 1.
Issue is the tem work dir gets deleted after first step execution. Can we control this?
Or is there any other option we have?
Though of deploy package and using a custom installation dir, but this will lead to a manual dir creation and maintenance outside of work dir.
Is there a way octopus can create a dir based on release/run for custom installation dir and can be used to store all the playbooks required for each steps to be executed?
Quick response will help us a lot.