diff --git a/scripts/install_mt4.sh b/scripts/install_mt4.sh index e2b75680..7bf15798 100755 --- a/scripts/install_mt4.sh +++ b/scripts/install_mt4.sh @@ -7,6 +7,7 @@ CWD="$( pwd -P )" type ansible > /dev/null +type ansible-galaxy > /dev/null type winetricks > /dev/null # Load variables. @@ -22,8 +23,9 @@ curl -s ifconfig.me/all.json . "$CWD/.funcs.cmds.inc.sh" echo "Installing platform..." >&2 -ansible-playbook -c local -e metatrader_version=4 -\ -i "localhost," /opt/ansible/install-platform.yml -v +ansible-galaxy install git+https://github.com/EA31337/ansible-role-metatrader.git,dev +ansible-playbook -c local -e metatrader_version=4 -e wine_install_winetricks=1 \ + -i "localhost," /opt/ansible/install-platform.yml -v . "$CWD"/.vars.inc.sh if [ -n "$TERMINAL5_DIR" ]; then diff --git a/scripts/install_mt5.sh b/scripts/install_mt5.sh index ddef05a8..a82c4053 100755 --- a/scripts/install_mt5.sh +++ b/scripts/install_mt5.sh @@ -7,6 +7,7 @@ CWD="$( pwd -P )" type ansible > /dev/null +type ansible-galaxy > /dev/null type winetricks > /dev/null # Load variables. @@ -22,8 +23,9 @@ curl -s ifconfig.me/all.json . "$CWD/.funcs.cmds.inc.sh" echo "Installing platform..." >&2 -ansible-playbook -c local -e metatrader_version=5 -\ -i "localhost," /opt/ansible/install-platform.yml -v +ansible-galaxy install git+https://github.com/EA31337/ansible-role-metatrader.git,dev +ansible-playbook -c local -e metatrader_version=5 -e wine_install_winetricks=1 \ + -i "localhost," /opt/ansible/install-platform.yml -v . "$CWD"/.vars.inc.sh if [ -n "$TERMINAL5_DIR" ]; then diff --git a/scripts/provision.sh b/scripts/provision.sh index ed71d253..bb1487fc 100755 --- a/scripts/provision.sh +++ b/scripts/provision.sh @@ -114,7 +114,8 @@ case "$(uname -s)" in ansible-galaxy install git+https://github.com/EA31337/ansible-role-mt-runner.git,dev # Install platform. - ansible-playbook -i "localhost," -c local /opt/ansible/install-wine.yml -v + ansible-playbook -i "localhost," -c local /opt/ansible/install-wine.yml -v \ + -e wine_install_winetricks=1 ansible-playbook -i "localhost," -c local /opt/ansible/install-xvfb.yml -v # Install Charles proxy.