for host in "$@"; do
ax_msg - "$host ..."
+ ssh root@$host mkdir -p /usr/local/etc/zabbix/zabbix_agentd.conf.d
+
# Zabbix agent configuration
out=$(rsync -rt --delete --log-format=%f -e ssh --exclude Makefile \
"$BASE_DIR/etc/zabbix_agentd.conf.d/" \
ax_msg 1 "Ok, updated sudo configuration."
refresh_sudo "$host"
else
- ax_msg 0 "Ok, no for sudo configuration."
+ ax_msg 0 "Ok, no changes for sudo configuration."
fi
else
ax_msg 2 "Failed to sync sudo configuration to $host!"