adds some useful scripts

This commit is contained in:
James Hackett 2022-12-08 23:00:18 +00:00
parent 1d34890a74
commit 62327b88c0
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#!/bin/bash
ansible -m shell -i hosts all -a "cmd='grep -E \"^$(date +%Y-%m-%d).+ (install|upgrade) \" /var/log/dpkg.log | cut -d \" \" -f 3-5'"

3
ansible/bin/ping.sh Normal file
View file

@ -0,0 +1,3 @@
#!/bin/bash
ansible -i hosts all -m ping