Ansible playbooks
My homelab playground. A repository of infrastructure using Virtualbox, Vagrant, Landrush and Ansible. The actual Ansible roles are each located in a repository of its own (which is ansible-galaxy installable) and the Ansible modules are from the ansible-modules git repo.
Requirements
Getting started
git clone --recursive https://www.shore.co.il/cgit/ansible-playbooks
cd ansible-playbooks
ansible-galaxy install -r requirements.yml
vagrant up
TODO
- CI test with ServerSpec.
- Fast (like unit) testing with ansible-lint, maybe other linters (pre-commit).
- Better documentation and handling of role dependencies.
- Add example requirements.yml to roles README file.
- For all roles: - Add email alias to root. - Log to syslog. - Collect metrics using Collectd. - Use TLS and random, high bit count dhparams. - Use assertions at the start of the role. - Wait for the service to be up at the end of the role.