Open saltydk opened 12 months ago
Clean up the settings role to use dynamic include_tasks instead of the current implementation that is fairly spammy and confusing to debug.
Current implementation:
- name: "Settings | Migrator" ansible.builtin.include_tasks: "subtasks/migrator.yml" vars: file: "{{ outer_item }}"
Initial suggestion would be:
- name: "Settings | Migrator" ansible.builtin.include_tasks: "subtasks/migrator/{{ outer_item }}.yml"
This would avoid looping over tasks that aren't going to do anything over and over.
Clean up the settings role to use dynamic include_tasks instead of the current implementation that is fairly spammy and confusing to debug.
Current implementation:
Initial suggestion would be:
This would avoid looping over tasks that aren't going to do anything over and over.