Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 669 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 669 Bytes

Ansible Playbook for freegeoip.net

This is the ansible playbook used to deploy the public service of freegeoip.net on Digital Ocean. It assumes your droplets are Ubuntu 14.04 LTS and have private networking to each other.

It deploys the following:

  • freegeoip web server
  • redis server, for usage quota
  • prometheus, for monitoring

Following is a TODO list for people willing to use this playbook:

  • Replace the snakeoil certificate and key in roles/freegeoip/files
  • Edit the hosts file and make sure each host has a private IP
  • Edit freegeoip.yml and configure the variables accordingly

Then run:

ansible-playbook -u $user ./freegeoip.yml