Merge "Save disk usage for containers jobs"
This commit is contained in:
commit
480045ed1a
|
@ -20,6 +20,9 @@
|
|||
rsync -var --no-links /etc/containers/ {{ workspace }}/etc/containers/ || true
|
||||
rsync -var --no-links --include 'yum.repos.d/***' --include 'yum.conf' --include 'dnf/***' --exclude='*' /etc/ {{ workspace }}/etc/ || true
|
||||
|
||||
# Save some statistics
|
||||
df -h &>{{ workspace }}/logs/system/disk_usage.txt
|
||||
|
||||
chmod -R a+r "{{ workspace }}"
|
||||
chown -R {{ ansible_user }}: "{{ workspace }}"
|
||||
changed_when: true
|
||||
|
|
Loading…
Reference in New Issue