Uses ansible to install https://github.com/JustaPenguin/assetto-server-manager via docker-compose onto a CIS hardened Ubuntu 20.04 LTS server
Prerequisites:
- A ubuntu 20.04 VPS server with a sudo capable (non-root) user capable of ssh w/o a password
- ansible installed on your host/control machine
How to use:
- $ git clone https://github.com/Brandon1811/ansible_assetto_server
- $ cd ./ansible_assetto_server
- $ ansible-galaxy install -p roles -r requirements.yml
- $ cp example_inventory inventory
- update your inventory file with your server(s)
- for each host in your inventory file, copy the example host_vars file into ./host_vars and update with your specific install details (usernames, passwords, etc.)
- $ cp example_host_vars.yml host_vars/HOST_NAME.yml
- $ ansible-playbook main.yml -i inventory -K
- Can add --limit host1 to run playbook on the single host1 host (replace host1 with a hostname from your inventory file)