ansible-community / molecule-plugins

Collection on molecule plugins
MIT License
115 stars 76 forks source link

Add ansible-lint for cookiecutter in CI jobs #122

Closed zhan9san closed 1 year ago

zhan9san commented 1 year ago

Related to #119

Currently, the cookiecutter directory is excluded in ansible-lint configuration.

It may need to run 'molecule init -d xxx' to generate the playbook from cookiecutter.

The lint issue in Azure plugin has been fix in #105

apatard commented 1 year ago

sounds a good idea but are you sure that it'll work ? iirc ansible-lint was not really happy with cookiecutter templates

zhan9san commented 1 year ago

That's why I add this line.🤣

It may need to run 'molecule init -d xxx' to generate the playbook from cookiecutter.

apatard commented 1 year ago

oh, right... Got confused with previous line, I thought you wanted to remove the corresponding exclude_path line in ansible-lint configuration