16 lines
257 B
Bash
Executable file
16 lines
257 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
if [ $# -eq 1 ]; then
|
|
limit="$1"
|
|
elif [ $# -ne 0 ]; then
|
|
echo "Usage: $(basename "$0") [hostname]" 1>&2
|
|
exit 1
|
|
else
|
|
limit="all"
|
|
fi
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
ansible-playbook playbooks/manual/check-updates.yml -l "$limit"
|