Ansible playbook to automate server setup
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Heroku.md
LICENSE
README.md
django.yml
hosts
local.retry
local.yml
npm-debug.log
setup.yml
vars.yml

README.md

Ansible-Playground

I recently bought a droplet from DigitalOcean. This repo contains Ansible playbooks that I wrote to customize the new server. More detailed information can be found on my blog chinmayapatanaik.com.

Tasks

  • Install packages.
  • Git
  • zsh
  • oh-my-zsh
  • vim
  • tmux
  • python-pip
  • python-virtualenv
  • Atom Editor
  • Sublime Text Editor
  • vlc
  • Copy SSH public key to Github.
  • Copy SSH Key to a remote server

Prerequisites

  • Ansible installed on your local system.
  • Public SSH key copied to the remote server.
  • Passwordless setup for a user with sudo privilleges.
  • Provide the IP address of the server in hosts file.

Developing

Clone the repo. Modify inventory file and the playbook with information of remote server. Finally run the playbook as shown below.

$ git clone --recursive git@github.com:pattu777/Ansible-Playground.git
$ cd Ansible-Playground
$ ansible-playbook -i hosts setup.yml