diff --git a/roles/common/templates/uug_ansible_wrapper.py b/roles/common/templates/uug_ansible_wrapper.py index 300766f8..1249a73d 100755 --- a/roles/common/templates/uug_ansible_wrapper.py +++ b/roles/common/templates/uug_ansible_wrapper.py @@ -418,9 +418,11 @@ def on_run_clicked(self, _): ) with TemporaryDirectory() as temp_dir: - # spawn_sync will not perform a path lookup; however, pkexec will + # spawn_sync will not perform a path lookup; however, pkexec and env will cmd_args = [ '/usr/bin/pkexec', + "env", + "PYTHONUNBUFFERED=1", 'ansible-pull', '--url', USER_CONFIG['git_url'],