Ansible setup for https://rockyj.in
Uses setup described in blog
- Buy server from DO and note IP (make sure you can ssh as root)
- Buy domain from name.com (for example), change "A Record" to IP
- Update
domain_nameinbase.ymlandmain.yml - Start with user root in
ansible.cfg - Run
setup_server_base.sh - 2 manual tasks
- SSH into server and
- Change password
passwd rockyj - Run
certbot --nginx
- Change password
- SSH into server and
- The https://[domain]/index.nginx-debian.html should work on HTTPS now
- Change to "rockyj" in
ansible.cfg - Run
setup_server_main.sh - SSH into server
sudo reboot