Skip to content

Commit

Permalink
fix ansible-runner references
Browse files Browse the repository at this point in the history
  • Loading branch information
ansibleguy committed Oct 5, 2024
1 parent af95d7f commit 811ea06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/ansibleguy-webui/aw/utils/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ def parsed_ansible_version(python_modules) -> dict:
versions['libyaml'] = ansible_version[-1].split('=')[1].strip()

if 'ansible-runner' in python_modules:
versions['ansible_runner'] = python_modules['ansible-runner']['version']
# versions['ansible_runner'] = python_modules['ansible-runner']['version']
versions['ansible_runner'] = python_modules['ansibleguy-runner']['version']

if 'ansible' in python_modules:
versions['ansible'] = python_modules['ansible']['version']
Expand Down
2 changes: 1 addition & 1 deletion src/ansibleguy-webui/aw/views/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from django.shortcuts import HttpResponse
from django.shortcuts import render
from django.contrib.auth.decorators import login_required
from ansible_runner.interface import get_ansible_config
from ansibleguy_runner.interface import get_ansible_config

from aw.utils.http import ui_endpoint_wrapper
from aw.utils.subps import process_cache
Expand Down

0 comments on commit 811ea06

Please sign in to comment.