Only run this on monitor hosts, as it takes a long time

This commit is contained in:
Micke Nordin 2025-01-20 09:00:14 +01:00
parent 9ac6531700
commit 19015d9061
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -1,5 +1,9 @@
#!/bin/bash
if ! [[ $(hostname) =~ monitor ]]; then
exit 0
fi
repo="/var/cache/cosmos/repo"
common="${repo}/global/overlay/etc/hiera/data/common.yaml"