Krikri::AsyncJobs
AsyncJobs - shared job-status-file conventions for async:/poll:/ async_status:. A background job (spawned as a separate, detached OS process by TaskExecutor#execute_async, not a Fiber - so it keeps running even if it outlives the poll loop or the whole playbook run) writes its result here; async_status: (plugins/async_status.cr) reads it back. Mirrors real Ansible's own ~/.ansible_async/<jid> convention, though only for local connections - see execute_async's own comment for why remote async isn't implemented.
Constants
Class methods
Deletes one job's status + config files (real Ansible's own async_status mode=cleanup for a single jid). Returns true when anything was removed.
Removes every job file in the async dir - real Ansible's async_status mode=cleanup with jid: ALL. ~/.ansible_async previously grew without bound for the lifetime of the account. Stray .tmp leftovers from a crashed write are swept too. Returns the number of files removed.