+ yadm initialization for non priveleged and existing users
#861m7vaer Шаблон операционной системы на Debian 10
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user