VSCode extension assistance

originaltrini0
Thu, 19 Mar 2026 16:52:59 +0000
Get Help

Hello all:

I am trying out the VSCode Ansible extension and need help. I believe I have all the requirements installed for proper integration, but I am encountering extension errors.
My issues are two-fold:

1. I have my own execution environment, yet even after specifying the image in settings, the extension complains about not having one.

2. Currently, Ansible’s packages are installed with pipx. Even when I specify the paths to executables, they are not found by the extension.

Here is a snippet of the extension’s config:

"ansible.validation.lint.path": "~/.local/bin/ansible-lint",
"ansible.executionEnvironment.image": "ansible-ee:1.0.1",
"python.defaultInterpreterPath": "/opt/homebrew/bin/python3",
"ansible.ansible.path": "~/.local/bin/ansible",
"ansible.ansibleNavigator.path": "~/.local/bin/ansible-navigator",
"ansible.python.interpreterPath": "/opt/homebrew/bin/python3",
"ansible.executionEnvironment.containerEngine": "docker",
"[ansible]": {
    "editor.formatOnSave": true,
    "files.autoSave": "afterDelay",
    "editor.defaultFormatter": "redhat.ansible"
}

Here are details of my environment:
MacOS Sequoia
Docker: v28.5.1
VSCode: v1.112.0
Ansible extension: v26.3.0
Python/Ansible:

which python3
/opt/homebrew/bin/python3

pipx list
venvs are in /Users/xxx/.local/pipx/venvs
apps are exposed on your $PATH at /Users/xxx/.local/bin
manual pages are exposed at /Users/xxx/.local/share/man
   package ansible-builder 3.1.1, installed using Python 3.14.3
    - ansible-builder
   package ansible-core 2.20.3, installed using Python 3.14.3
    - ansible
    - ansible-config
    - ansible-console
    - ansible-doc
    - ansible-galaxy
    - ansible-inventory
    - ansible-playbook
    - ansible-pull
    - ansible-test
    - ansible-vault
   package ansible-dev-tools 26.3.1, installed using Python 3.14.3
    - adt
   package ansible-lint 26.3.0, installed using Python 3.14.3
    - ansible-lint
   package ansible-navigator 26.1.3, installed using Python 3.14.3
    - ansible-navigator

I do not see any logs to speak of, but here are screenshots of what I am encountering:

Any suggestions for the correct integration on MacOS will be greatly appreciated.

Thanks

4 posts - 3 participants