diff --git a/docs/ansible.md b/docs/ansible.md index 215e55f..dc63b5e 100644 --- a/docs/ansible.md +++ b/docs/ansible.md @@ -95,7 +95,7 @@ ansible-playbook cloud_instance.yml -e "flavor_name='h2.large'" ``` You can combine both options: - + ```bash ansible-playbook cloud_instance.yml -e "image_name='Ubuntu 22.04 LTS Snapshot (20230404)'" -e "flavor_name='h2.large'" ``` @@ -125,20 +125,20 @@ ansible-playbook site.yml -e backend_repo_version='backend-branch-name' -e front ``` To specify different IP of the backend and frontend: - + ```bash ansible-playbook site.yml -e frontend_backend_hostname='149.156.182.181' -e frontend_ui_hostname='149.156.182.181' -e backend_repo_version='backend-branch-name' -e frontend_repo_version='frontend-branch-name' ``` or ``` -ansible-playbook site.yml -e frontend_backend_hostname='yap-dev.c3.plgrid.pl' -e frontend_backend_url='https://yap-dev.c3.plgrid.pl:5000' -e frontend_ui_hostname='yap-dev.c3.plgrid.pl' -e frontend_ui_hostname='https://yap-dev.c3.plgrid.pl' +ansible-playbook site.yml -e frontend_backend_hostname='yap-dev.c3.plgrid.pl' -e frontend_backend_url='https://yap-dev.c3.plgrid.pl:5000' -e frontend_ui_hostname='yap-dev.c3.plgrid.pl' -e frontend_ui_hostname='https://yap-dev.c3.plgrid.pl' ``` -or +or ``` -ansible-playbook site.yml -e @plgrid_vars.yml +ansible-playbook site.yml -e @yap_dev_vars.yml ``` You can also run only few stages of the deployment. For example to perform only installation of necessary packages, use the following command: @@ -166,4 +166,4 @@ ansible-playbook site.yml -e mode=clean ```bash ansible-playbook cloud_instance.yml -e mode=clean -``` \ No newline at end of file +``` diff --git a/docs/authentication.md b/docs/authentication.md index a1b494d..6544d0f 100644 --- a/docs/authentication.md +++ b/docs/authentication.md @@ -23,4 +23,4 @@ The `REACT_APP_` prefix is required by the create-react-app tool, see https://cr These variables needs to be provided to the docker compose files via the `.env` file, both for backend and the frontend parts. The backend propagates this variable to the `yaptide_flask` container, to be able to verify keycloak tokens. The frontend needs to know the URL of the keycloak server, so it can redirect the user to the login page. -To properly setup these variables in case of ansible deployment, please use `plgrid_vars.yml` as an example. \ No newline at end of file +To properly setup these variables in case of ansible deployment, please use `yap_dev_vars.yml` as an example.