Skip to content

rocky-jaiswal/blog-devops

Repository files navigation

blog-devops

Ansible setup for https://rockyj.in

Uses setup described in blog

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

About

Ansible setup for https://rockyj.in

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages