Ansible role to install MetaTrader platform.
This role requires:
- Ansible
- Python
- Administrative/root access on target hosts
- One of the following operating systems:
- Alpine Linux
- Debian/Ubuntu
- NixOS or systems with Nix package manager
To install this role from Ansible Galaxy, run the following command:
ansible-galaxy install ea31337.metatraderTo install this role, you can use the following terminal command:
ansible-galaxy install git+https://github.com/EA31337/ansible-role-metatrader.gitFor available variables,
check defaults/main.yml.
metatrader_setup_urlThe URL of the setup file to run.metatrader_versionPlatform version to install. Default 5.
Steps to test role on Docker containers.
-
Install the current role by running the following commands in shell:
ansible-galaxy install -r requirements.yml jinja2 requirements-local.yml.j2 -D "pwd=$PWD" -o requirements-local.yml ansible-galaxy install -r requirements-local.ymlAlternatively, for development purposes, you can consider using symbolic link, e.g.
ln -vs "$PWD" ~/.ansible/roles/ea31337.metatrader
-
Ensure Docker service (e.g. Docker Desktop) is running.
-
Run playbook from
tests/:ansible-playbook -i tests/inventory/docker-containers.yml tests/playbooks/docker-containers.yml
To test using Molecule, run:
molecule testGNU GPL v3
See: LICENSE