added ansible adhoc command to check daily backup results

This commit is contained in:
Radar231 2024-03-31 09:32:38 -04:00
parent 93a2c3e7f4
commit c8fd01f0a8
1 changed files with 7 additions and 0 deletions

7
adhoc_ck-daily-backups.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
curdate=$(date +%Y%m%d)
ansible all -i inventory/prod.yml -u root -m shell -a "cat /usr/local/log/borg*${curdate}*.log" | less