Squash merge move_to_single_file_pkgs into main

This commit is contained in:
Matthew Stobbs
2026-04-13 14:50:45 -06:00
parent ff740426c8
commit 8dc427f027
373 changed files with 3883 additions and 9963 deletions

View File

@@ -1,10 +1,21 @@
# vim: set filetype=yaml.ansible :
---
- name: Remove file list
become: true
loop: "{{ file_list }}"
become: "{{ install_become }}"
become_user: "{{ install_become_user }}"
loop: "{{ files }}"
loop_control:
loop_var: file
when:
- file.to is defined
ansible.builtin.file:
state: absent
path: "{{ file }}"
path: "{{ install_prefix }}/{{ file.to }}"
- name: Check for and remove empty directories
loop: "{{ files }}"
loop_control:
loop_var: dir
when:
- file.directory is defined
ansible.builtin.include_tasks: internal/remove_empty_dir.yml