Move ansible last run stamping to better location
Before, only root could read the file containing the stamps.
This commit is contained in:
parent
962dc07a2a
commit
5192b27d9e
2 changed files with 2 additions and 2 deletions
|
@ -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" | \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue