Remove rearrange folders

This commit is contained in:
Przemek Grondek 2024-04-19 20:56:52 +02:00
parent f378f95d4c
commit ee2eecf737
3 changed files with 0 additions and 28 deletions

View File

@ -1,7 +1,4 @@
---
- import_tasks: rearrange-folders.yml
when: ansible_distribution == "Ubuntu"
- import_tasks: cleanup.yml
when: ansible_distribution == "Ubuntu"

View File

@ -1,8 +0,0 @@
- name: "Lookup for {{ item }} directory"
stat:
path: "{{ desktop.old_source_dir }}/{{ item }}"
register: old_directory
- name: "Move {{ desktop.old_source_dir }}/{{ item }} to {{ desktop.apps_source_dir }}/{{ item }}"
command: mv {{ desktop.old_source_dir }}/{{ item }} {{ desktop.apps_source_dir }}/{{ item }}
when:
- old_directory.stat.exists

View File

@ -1,17 +0,0 @@
- name: create directory
file:
state: directory
path: "{{ desktop.apps_source_dir }}"
- include_tasks: rearrange-folders-loop.yml
loop:
- asusctl
- dotfiles
- dwm
- dwm-nest
- ego
- dwmstatus
- polybar
- streamdeck
- stterm
- supergfxctl