regluit/sysadmin/playbooks
eric 88a50073de Merge remote-tracking branch 'Gluejar/master' 2018-06-09 15:54:14 -04:00
..
roles/common first pass at ansible playbooks for sysadmin 2015-01-23 09:17:17 -08:00
README.md add some documentation 2015-01-23 09:32:06 -08:00
hosts Merge remote-tracking branch 'Gluejar/master' 2018-06-09 15:54:14 -04:00
unattended-upgrade.yml apply a apt-get update before doing unattended-changes 2015-01-27 17:08:15 -08:00

README.md

This directory is for ansible playbooks for sysadmin tasks around unglue.it.

We start with automating tasks such as applying security upgrades to the servers.

Goal is to build playbooks for the configuration of servers.

Current status of playbooks

  • host is currently written by hand -- the inventory might be dynamically generated at some point.

Installing ansible

installation instructions.

On the mac, easiest approach is probably to use homebrew:

brew install ansible

You can also use pip:

pip install ansible

Note: ansible depends on one having ssh access to the servers.

Running unattended-upgrade

in regluit/sysadmin/playbooks, run

ansible-playbook -i hosts -e "target=instances" unattended-upgrade.yml

to run on all the servers.

ansible-playbook -i hosts unattended-upgrade.yml

will run only just.