Move ansible last run stamping to better location

Before, only root could read the file containing the stamps.
This commit is contained in:
Andreas B. Mundt 2024-07-24 08:21:41 +02:00
parent 962dc07a2a
commit 5192b27d9e
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ n=0
cmds=(
'uname -a'
'tail -1 /root/.ansible/stamps'
'tail -1 /var/local/ansible-stamps'
'ip route list default'
'ip link show | \
sed -nE -e "s/^[2-9]: (\S+): .+/\1/p" -e "s/.+ether ([0-9a-f:]+) .+/\1/p" | \