* use appropriate php version both for php and apache installations
+ pma for apache with auth and hand made change granted permissions + wp-cli + www-domain alias for apache and revers redirect for that
This commit is contained in:
@ -31,6 +31,12 @@ if [[ -z "$PLAYBOOK" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ ! -f "$PLAYBOOK" ]]; then
|
||||
echo "Playbook file is not exists: $PLAYBOOK"
|
||||
usage
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -z "$SITE_NAME" ]]; then
|
||||
echo "You must defined SITE_NAME as third argument"
|
||||
usage
|
||||
@ -43,12 +49,6 @@ 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