-
I'm running ansible (and ansible-lint) in a container and installing the collections as: ansible-galaxy collection install \
-r requirements.yml \
-p /usr/share/ansible/collections
ansible-galaxy role install \
-r requirements.yml \
-p /usr/share/ansible/roles Then, using a wrapper, execute ansible-lint as: ./ansible-lint.sh --offline --parseable development.yml But it still fails with:
Why is still trying to call |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
+1 here, the current situation is not very friendly for CI environments, especially because the way that |
Beta Was this translation helpful? Give feedback.
-
The only way to do this is to stop using standalone roles. For collections offline installations is possible but for roles that is not possible and ansible-core will never be updated to add support for such features. I am saying this because I asked about this subject myself several times. Also starting with v6.10.0 linter should be usable in offline mode. |
Beta Was this translation helpful? Give feedback.
The only way to do this is to stop using standalone roles. For collections offline installations is possible but for roles that is not possible and ansible-core will never be updated to add support for such features. I am saying this because I asked about this subject myself several times.
Also starting with v6.10.0 linter should be usable in offline mode.