mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-08-29 12:03:14 +00:00
Add just molecule-clean
`just molecule` leaves a shared virtualenv of over 500 MB under var/, plus a ~7 MB Ansible home per role that has a scenario. Neither is reclaimed by anything today. `--idle-days N` limits it to what has not been touched recently, so it can be run unattended without taking the cache out from under a scenario being worked on right now. The two directories are named explicitly rather than globbed: var/ holds other things and must never be removed wholesale. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SEH3vxYSQ5SV4N5z61eyGT
This commit is contained in:
co-authored by
Claude Opus 5
parent
6ad1c9b031
commit
e2d3be504e
@@ -139,6 +139,10 @@ stop-group group *extra_args:
|
||||
molecule *args:
|
||||
@{{ justfile_directory() }}/bin/molecule.sh {{ args }}
|
||||
|
||||
# Removes the Molecule virtualenv and per-role Ansible homes from var/
|
||||
molecule-clean *args:
|
||||
@{{ justfile_directory() }}/bin/molecule-clean.sh {{ args }}
|
||||
|
||||
# Internal - ensures var/mise and var/prek directories exist
|
||||
_ensure_mise_data_directory:
|
||||
@mkdir -p "{{ mise_data_dir }}"
|
||||
|
||||
Reference in New Issue
Block a user