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
- Host: GitHub
- URL: https://github.com/rocky-jaiswal/blog-devops
- Owner: rocky-jaiswal
- Created: 2017-11-10T23:50:22.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-06T10:21:26.000Z (over 6 years ago)
- Last Synced: 2025-01-19T09:44:13.375Z (10 months ago)
- Language: Shell
- Size: 6.8 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`