Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jsonschema is deprecated #92

Open
ixodie opened this issue Jan 2, 2025 · 0 comments
Open

jsonschema is deprecated #92

ixodie opened this issue Jan 2, 2025 · 0 comments

Comments

@ixodie
Copy link

ixodie commented Jan 2, 2025

I can't install jsonschema as brew has it listed as "disabled". Someone on another chat mentioned that this should be replaced with: https://github.com/python-jsonschema/check-jsonschema

My command output:
`ansible-playbook build.yaml -e manifest_file=MANIFEST.yaml  ✔
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match
'all'

PLAY [localhost] *******************************************************************************************************

TASK [Gathering Facts] *************************************************************************************************
ok: [localhost]

TASK [ansible.content_builder.run : Validate task input against defined schema] ****************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.errors.AnsibleError: Failed to import the required Python library (jsonschema) on .local's Python /opt/homebrew/Cellar/ansible/11.1.0_1/libexec/bin/python. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to import the required Python library (jsonschema) on .local's Python /opt/homebrew/Cellar/ansible/11.1.0_1/libexec/bin/python. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"}`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant