diff --git a/ansible/bin/get-changed-apt.sh b/ansible/bin/get-changed-apt.sh new file mode 100644 index 0000000..5819060 --- /dev/null +++ b/ansible/bin/get-changed-apt.sh @@ -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'" diff --git a/ansible/bin/ping.sh b/ansible/bin/ping.sh new file mode 100644 index 0000000..4b7625f --- /dev/null +++ b/ansible/bin/ping.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +ansible -i hosts all -m ping