Is it possible to not let Ansible-Runner generate the Artifacts Directory?

I am using ansible-runner along with pytest to perform tests and it fits really with for my testing scenarios.

I generally use rotate_artifacts=-1 in order to explicitly avoid generating the respective artifacts, however the artifacts directory is generated no matter what.

I was wondering is there a specific parameter I can use to avoid generating the artifacts directory during testing?

I can’t see how to avoid the directory being created, but you could possibly do something like this:

ansible-runner --artifact-dir /tmp --rotate-artifacts=-1