https://github.com/bjacobel/ansible-base
Framework and basic roles shared between my Ansible playbooks.
https://github.com/bjacobel/ansible-base
Last synced: 3 months ago
JSON representation
Framework and basic roles shared between my Ansible playbooks.
- Host: GitHub
- URL: https://github.com/bjacobel/ansible-base
- Owner: bjacobel
- Created: 2015-02-02T18:21:14.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-02T19:03:44.000Z (over 10 years ago)
- Last Synced: 2025-03-11T21:01:56.793Z (3 months ago)
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
###ansible-base
---An extensible [Ansible](http://docs.ansible.com/) framework for deploying services and web applications.
Contains some basic plays, such as setup of basic security and installation of server monitoring.
Tested on Ubuntu 14.04.
Requires Ansible >= 1.8.1 and optionally Vagrant to use the included Vagrantfile.
Full contents of base playbook:
- Installs:
- `bash`
- `openssl`
- `libssl`
- `build-essential`
- `ntp`
- `htop`
- `git`
- `supervisor`
- `newrelic-server`
- `fail2ban`
- `ufw`
- `memcached`
- `nginx`
- Uninstalls
- [`landscape`](https://landscape.canonical.com/)
- Configures
- All incoming TCP connections are blocked except on ports 22, 80, and 443
- Fail2ban is configured to block failed SSH connections from unknown IPs for 10 minutes after 3 failures
- A 512MB swapfile is created, enabled and placed at `/swapfile`
- Memcached is installed and enabled on port `11211`Based in part on [jcalazan/ansible-django-stack](https://github.com/jcalazan/ansible-django-stack) and [kamaln7/ansible-swapfile](https://github.com/kamaln7/ansible-swapfile).