This Ansible role that updates apt
and upgrades all packages. It then installs the following packages:
git
ntp
unattended-upgrades
build-essential
libreadline6
libreadline6-dev
curl
zlib1g
zlib1g-dev
libssl-dev
libyaml-dev
libsqlite3-dev
sqlite3
libxml2-dev
libxslt1-dev
autoconf
libc6-dev
libncurses5-dev
automake
libtool
bison
pkg-config
Finally it sets the default timezone for the server. We use this as the base image for all our Ruby and Node.js applications.
$ ansible-galaxy install crushlovely.linux-base
time_zone: UTC
Once this role is installed on your system, include it in the roles list of your playbook.
---
- hosts: localhost
roles:
- { role: crushlovely.linux-base }
None
MIT