ansible-navigator
ansible-navigator copied to clipboard
Allow to set ansible-runner artifacts dir ID
ISSUE TYPE
- Feature Idea
SUMMARY
Allow to set the runner identifier.
Can you please let us know the use case for this feature. Currently the ansible-runner artifact directory can be configured through navigator.
When running the navigator it creates some tmp path that contains the artifacts from the runner. Those artifacts are inside the run ID dir. For someone who is gathering data might be easier to get the artifacts if he would set the ID before the run.
I feel like making tmp dirs with hardcoded paths is a bad idea but it may be reasonable to have some CLI arg for moving the artifacts into. WDYT?
@webknjaz The runner artifact directory can be specified through command-line by ansible-runner-artifact-dir option Refer https://github.com/ansible/ansible-navigator/blob/main/docs/settings.rst
And if we are able to set the ansible-runner-artifact-dir there will be many artifacts IDs dirs and it would be easier to be able to set the ID than search through all those dirs and know which you want to checkout.
I know this is an edge case but I still, believe someone might need it in the future.
How not to opt for anisble artifact directory ? I dont need it and I dont want it but still ansible-runner creates this directory not sure how to remove this.