+ yadm initialization for non priveleged and existing users

#861m7vaer Шаблон операционной системы на Debian 10
This commit is contained in:
2024-03-22 18:47:05 +03:00
parent 958e39bce7
commit fb93943ba5
7 changed files with 21 additions and 11 deletions

View File

@ -43,6 +43,12 @@ if [[ -z "$DOMAIN_NAME" ]]; then
exit 1
fi
if [[ ! -f "$PLAYBOOK" ]]; then
echo "Playbook file is not exists: $PLAYBOOK"
usage
exit 1
fi
COMMAND=$(cat <<EOF
ansible-playbook -e "lxc_host=${SERVER}" -e "initial_site_name=${SITE_NAME}" -e "domain_name=${DOMAIN_NAME}" -e runner=site
EOF