added ansible adhoc command to check daily backup results
This commit is contained in:
parent
93a2c3e7f4
commit
c8fd01f0a8
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue