JonasPammer / cookiecutter-ansible-role

An awesome CookieCutter for my ansible roles.
MIT License
1 stars 3 forks source link

ci: remove duplicate CI artifact #132

Closed JonasPammer closed 1 year ago

JonasPammer commented 1 year ago

{{ vars }} includes {{ hostvars }} under a key called hostvars, so hostvars.yml is completly unecessary duplication of 38kb. multiply by 11 distro's its 418kb. so remove these lines:

https://github.com/JonasPammer/cookiecutter-ansible-role/blob/f1c5d3e14c570f59b7eb108a2b263c5d58b66972/%7B%7B%20cookiecutter.project_slug%20%7D%7D/.github/workflows/ci.yml#L178

https://github.com/JonasPammer/cookiecutter-ansible-role/blob/f1c5d3e14c570f59b7eb108a2b263c5d58b66972/%7B%7B%20cookiecutter.project_slug%20%7D%7D/molecule/resources/debug.yml#L23-L32

https://github.com/JonasPammer/cookiecutter-ansible-role/blob/f1c5d3e14c570f59b7eb108a2b263c5d58b66972/%7B%7B%20cookiecutter.project_slug%20%7D%7D/DEVELOPMENT.adoc?plain=1#L110