ansible_dev_env/adhoc_ck-daily-backups.sh

8 lines
145 B
Bash
Executable File

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