aoh

A tool for running Ansible playbooks with `curl <url> | python` commands
git clone https://git.ashermorgan.net/aoh/
Log | Files | Refs | README

commit e857a23dcf4348f84ef53ed7fadfb1bacfdf8622
parent 66a7ba8a510a1f7836c75127a2dc90b917f87beb
Author: Asher Morgan <asher@ashermorgan.net>
Date:   Sun, 16 Aug 2026 16:33:25 -0700

Prevent creation of extra .ansible-runner dirs

Diffstat:
Maoh/runner.py | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/aoh/runner.py b/aoh/runner.py @@ -49,8 +49,12 @@ class AoHRunner: def _start_runner(self, config, playbook, host): - raw_config = ansible_runner.get_ansible_config('dump', config, - quiet=True)[0] + raw_config = ansible_runner.get_ansible_config( + 'dump', + config, + private_data_dir=self._dir, + quiet=True, + )[0] connection_plugins = eval(next( x for x in raw_config.split('\n')