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 committed by Lars Delhage
parent 9596f9d210
commit c11e95f5fe
Signed by untrusted user: lasse
GPG key ID: 6B250FE35CC876D1

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"