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

:replay should list or pick up artifact files from the current working directory

Open dmsimard opened this issue 4 years ago • 1 comments
trafficstars

I ran a playbook twice which resulted in the creation of two artifact files in the current working directory, i.e:

playbook-artifact-2021-06-02T13:18:44.897265+00:00.json
playbook-artifact-2021-06-02T13:19:58.219848+00:00.json

However, if I go into :replay, it doesn't see them and expects a file name to be provided: Screenshot from 2021-06-02 10-04-16

It would be useful if I didn't have to exit (or spawn a new shell) to go and copy the file name and then paste it into the dialog.

dmsimard avatar Jun 02 '21 14:06 dmsimard

We might be able to show the last 5 or 10 json files in a radio form in the currently set artifact directory, this would avoid having to open every file and determine if it was an artifact

cidrblock avatar Nov 01 '21 13:11 cidrblock