working on cleanup and fixing a few format issues

- modifying how installs are done
This commit is contained in:
Matthew Stobbs
2026-02-15 17:57:05 -07:00
parent b1a4780a97
commit e39c3b7046
11 changed files with 201 additions and 139 deletions

View File

@@ -0,0 +1,16 @@
# vim: set filetype=yaml.ansible :
---
- name: Check if dir is empty
ansible.builtin.find:
paths:
- "{{ dir }}"
file_type: any
hidden: true
register: fd_empty
- name: Remove empty dir
when:
- fd_empty.matched|int == 0
ansible.builtin.file:
path: "{{ dir }}"
state: absent