ansible-navigator icon indicating copy to clipboard operation
ansible-navigator copied to clipboard

Allow to set ansible-runner artifacts dir ID

Open mnecas opened this issue 4 years ago • 6 comments
trafficstars

ISSUE TYPE
  • Feature Idea
SUMMARY

Allow to set the runner identifier.

mnecas avatar Jul 29 '21 08:07 mnecas

Can you please let us know the use case for this feature. Currently the ansible-runner artifact directory can be configured through navigator.

ganeshrn avatar Aug 16 '21 13:08 ganeshrn

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.

mnecas avatar Aug 17 '21 08:08 mnecas

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 avatar Aug 17 '21 09:08 webknjaz

@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

ganeshrn avatar Aug 17 '21 09:08 ganeshrn

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.

mnecas avatar Aug 17 '21 09:08 mnecas

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.

vSharique avatar Feb 14 '22 09:02 vSharique