An open API service indexing awesome lists of open source software.

https://github.com/rocky-jaiswal/blog-devops

Ansible setup for https://rockyj.in
https://github.com/rocky-jaiswal/blog-devops

Last synced: 8 months ago
JSON representation

Ansible setup for https://rockyj.in

Awesome Lists containing this project

README

          

# blog-devops

Ansible setup for https://rockyj.in

Uses setup described in [blog](https://rockyj.in/2018/10/03/simple-ci.html)

## New project setup

- 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_name` in `base.yml` and `main.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`
- 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`