adds some useful scripts
This commit is contained in:
parent
1d34890a74
commit
62327b88c0
2 changed files with 6 additions and 0 deletions
3
ansible/bin/get-changed-apt.sh
Normal file
3
ansible/bin/get-changed-apt.sh
Normal 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
3
ansible/bin/ping.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
ansible -i hosts all -m ping
|
Loading…
Reference in a new issue