.github/workflows/lint.yml: ansible-lint needs collection source dir
ansible-lint required to be run in a collection source directory with correct and working galaxy.yml As ansible-freeipa is not converted to a collection, the galaxy.yml file can not be used to create the collection. This needs to be done with utils/build-galaxy-release.sh. The script is fixing all the prefixes for the roles and modules in all the yml files and also example snippets and in the documentation. Therefore utils/build-galaxy-release.sh is called with the "-k" option to keep the directory that has been used to generate the collection with the script. Afterwards ansible-lint is run in this build directory.
Loading
Please register or sign in to comment