working
This commit is contained in:
@@ -5,6 +5,8 @@ if [ "$#" -ne 2 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
host_vars_dir="/app/host_vars"
|
||||
|
||||
keys=(NEBULA_CA API_KEY HOSTNAME NEBULA_CRT NEBULA_KEY SSH_PRIVATE SSH_PUBLIC)
|
||||
|
||||
NEBULA_CA=$(<"$host_vars_dir/ca.crt")
|
||||
@@ -14,8 +16,6 @@ remotefile="$2"
|
||||
remotetmp_base="/var/tmp/4server"
|
||||
|
||||
while read -r host; do
|
||||
echo "Processing host: $host"
|
||||
|
||||
host_env_file="$host_vars_dir/$host/$host.env"
|
||||
|
||||
if [ ! -f "$host_env_file" ]; then
|
||||
|
||||
Reference in New Issue
Block a user