diff --git a/.ansible/roles/desktop/tasks/darwin/homebrew.yaml b/.ansible/roles/desktop/tasks/darwin/00_homebrew.yaml similarity index 100% rename from .ansible/roles/desktop/tasks/darwin/homebrew.yaml rename to .ansible/roles/desktop/tasks/darwin/00_homebrew.yaml diff --git a/.ansible/roles/desktop/tasks/darwin/mas.yaml b/.ansible/roles/desktop/tasks/darwin/10_mas.yaml similarity index 100% rename from .ansible/roles/desktop/tasks/darwin/mas.yaml rename to .ansible/roles/desktop/tasks/darwin/10_mas.yaml diff --git a/.ansible/roles/desktop/tasks/darwin/prefs.yaml b/.ansible/roles/desktop/tasks/darwin/20_prefs.yaml similarity index 100% rename from .ansible/roles/desktop/tasks/darwin/prefs.yaml rename to .ansible/roles/desktop/tasks/darwin/20_prefs.yaml diff --git a/.ansible/roles/desktop/tasks/linux/software.yaml b/.ansible/roles/desktop/tasks/linux/00_software.yaml similarity index 100% rename from .ansible/roles/desktop/tasks/linux/software.yaml rename to .ansible/roles/desktop/tasks/linux/00_software.yaml diff --git a/.ansible/roles/desktop/tasks/linux/config.yaml b/.ansible/roles/desktop/tasks/linux/10_config.yaml similarity index 100% rename from .ansible/roles/desktop/tasks/linux/config.yaml rename to .ansible/roles/desktop/tasks/linux/10_config.yaml diff --git a/.ansible/roles/desktop/tasks/main.yaml b/.ansible/roles/desktop/tasks/main.yaml index 66902da..cb6a77f 100644 --- a/.ansible/roles/desktop/tasks/main.yaml +++ b/.ansible/roles/desktop/tasks/main.yaml @@ -1,6 +1,6 @@ - name: Desktop tasks include_tasks: "{{ loop_task }}" - loop: "{{ query('fileglob', \"{{ ansible_system|lower }}/*\") }}" + loop: "{{ query('fileglob', \"{{ ansible_system|lower }}/*\") | sort }}" loop_control: loop_var: loop_task