From 645628d3845e3c048c701d1b8408a1801840065b Mon Sep 17 00:00:00 2001 From: Omar Al-Ithawi Date: Sun, 30 Jul 2023 17:23:58 +0300 Subject: [PATCH] feat: install atlas in `mfe` role Install atlas on all Micro-frontends to be used in `make pull_translations` This installs `atlas` on all Ansible build targets such as Native Installation and Devstack. This contribution is part of the [FC-0012 project](https://openedx.atlassian.net/l/cp/XGS0iCcQ) which is sparked by the [Translation Infrastructure update OEP-58](https://open-edx-proposals.readthedocs.io/en/latest/architectural-decisions/oep-0058-arch-translations-management.html#specification). --- playbooks/roles/mfe/tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/playbooks/roles/mfe/tasks/main.yml b/playbooks/roles/mfe/tasks/main.yml index cb4aae50257..35a749a826b 100644 --- a/playbooks/roles/mfe/tasks/main.yml +++ b/playbooks/roles/mfe/tasks/main.yml @@ -74,6 +74,14 @@ - install - install:system-requirements +- name: install Open edX Atlas translation tool + command: "npm install -g @edx/openedx-atlas@'<1.0.0'" + become_user: "{{ MFE_USER }}" + environment: "{{ MFE_ENVIRONMENT }}" + tags: + - install + - install:app-requirements + - name: install npm dependencies shell: "npm install --include=dev --no-save" args: