-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I have some Ansible that uses json_query
, and when I run ansible-lint
in a cytopia/ansible-lint
container, I get the following error:
WARNING Listing 2 violation(s) that are fatal
d=856173;https://ansible-lint.readthedocs.io/rules/jinja/1;91mjinja[invalid]: You need to install "jmespath" prior to running json_query filter
Per the message above, this occurs because jmespath
is not on the image.
In my GitLab CI/CD pipeline before running ansible-lint
, I'm able to install jmespath
via pip with the following before_script
:
before_script:
- /usr/bin/python3 -m pip install jmespath
Since it is needed for some linting, can jmespath
be pre-installed in the image?
kdam0
Metadata
Metadata
Assignees
Labels
No labels