This file directory structure can be used for 4th year projects
(user-projects/(third/fourth)-year-project)
I can't validate this, but checkout this branch on one of the hosts and
run `nomad job validate <path>` to ensure the config is okay, followed
by `nomad job plan <path>` to plan it. Run the job at that point using
the check-id. Once you're happy that it runs, return to the master
branch and merge this PR.
nova@redbrick.dcu.ie requested this to be deployed.
A DNS entry will need to be made before planning to ensure that the cert
can be generated by traefik.
- Rename a task in the consul role to better reflect the actions being
taken
- Add passwordless sudo as a configurable option to the ssh role,
include base configuration for that
- Update apt default packages to include dnsutils
- Update the consul task to set up dns resolution through consul and
systemd-resolved
- Update the consul server config file to auto join hostnames instead of
IP addresses, this makes the configuration for the playbook much
easier
- Add a docker task to install docker (works on arm devices also)
- Updates the hashicorp apt role to allow arm devices to pull from the
correct upstream repo
Add a local user and let them tunnel a port and connect to localhost
ssh -L 25565:10.10.0.4:<exposed port> <user>@glados.redbrick.dcu.ie -p
80
Then in the minecraft server settings on the client, type localhost
This is an untested change because I don't have the same environment as
Redbrick, but I think it would be beneficial to deploy the jobs using
Ansible. This means that it can be automated in the future.
One drawback of this approach is that we don't plan ahead of time, but
that should be done as part of a pull request anyways.