-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use mirsg infra collection #108
Conversation
use version 1.20.0
This PR was deployed on the [arc-playpen-collaborations](https://ucl-cloud.awsapps.com/start/#/) and moves towards integrating the [updated ansible collection version 1.22.0](https://github.com/UCL-MIRSG/ansible-collection-infra) into this repo. Merge into `use-mirsg-infra-collection` branch before merging into `main` Changes in this PR: - Added `./show_resources_to_delete.sh` script to find VPC dependencies for manual deletion if `terraform destroy` command has been interrupted when deploying locally - `configure/playbooks/group_vars/xnat.yml` nginx_upstream_port changed which addresses [this issue in this repo at least](UCL-MIRSG/ansible-collection-infra#119) - `configure/playbooks/roles/setup_xnat_project/tasks/upload_data.yml` task added to remove python3-requests library before installing necessary Python dependencies on host - `configure/playbooks/templates/nginx_reverse_proxy_aws.j2` was added to fix nginx error caused by aws url being long - Changed group from `xnat_container_service` to `container_service` in `provision/templates/ansible_hosts.yml.tftpl` to match playbook names --------- Co-authored-by: ruaridhg <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Paul Smith <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did a self-review here since I opened the PR, but it was mostly @p-j-smith's commits so LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing and tidying this up @ruaridhg! Have you deployed this to check it's working?
Fixes #109
Fixes #102
Use Ansible roles from the
mirsg.infrastructure
Collection for installing / configuring XNAT.mirsg.infrastructure.provision
role is used instead)mirsg.infrastructure.nginx
rolemirsg.infrastructure
include a fix for Container service and XNAT compatible with Docker > 24 #102 (the Docker version is pinned to <25)There are a lot of changes here, but they are all internal (i.e. there are no changes in how to use this repo, and users shouldn't need to update their
terraform.tfvars
files etc.)