Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: remove duplicate CI artifact #132

Closed
JonasPammer opened this issue Sep 20, 2023 · 0 comments · Fixed by #146
Closed

ci: remove duplicate CI artifact #132

JonasPammer opened this issue Sep 20, 2023 · 0 comments · Fixed by #146
Assignees
Labels
kind/infrastructure Categorizes issue or PR improving development/releases/Continious Integration (CI). priority/low Categorizes issues or PRs as low priority. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@JonasPammer
Copy link
Owner

{{ 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:

- name: DEBUG host variables ("hostvars") create /var/tmp/hostvars.yml
ansible.builtin.copy:
content: "{{ hostvars | to_nice_yaml }}"
dest: /var/tmp/hostvars.yml
delegate_to: "{{ item }}"
ignore_errors: "{{ item == 'localhost' }}"
loop:
- "{{ inventory_hostname }}"
- localhost
{%- endraw %}

@JonasPammer JonasPammer added triage/accepted Indicates an issue or PR is ready to be actively worked on. priority/low Categorizes issues or PRs as low priority. kind/infrastructure Categorizes issue or PR improving development/releases/Continious Integration (CI). labels Sep 20, 2023
@JonasPammer JonasPammer self-assigned this Sep 25, 2023
JonasPammer added a commit that referenced this issue Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/infrastructure Categorizes issue or PR improving development/releases/Continious Integration (CI). priority/low Categorizes issues or PRs as low priority. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant