You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
I have some Ansible that uses
json_query
, and when I runansible-lint
in acytopia/ansible-lint
container, I get the following error: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 installjmespath
via pip with the followingbefore_script
:Since it is needed for some linting, can
jmespath
be pre-installed in the image?The text was updated successfully, but these errors were encountered: