Skip to content

kamerk22/ansible-starter-pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevToDevOps: Ansible Starter Pack

10 Ansible Playbooks to Set Up, Secure, and Scale Your Servers Like a Pro by DevToDevOps.com

😩 The Problem

As a DevOps engineer or sysadmin, your to-do list is never empty:

  • Provision a new server ✅
  • Harden SSH and firewall rules 🔐
  • Install and configure NGINX or Apache 🚀
  • Add users, set locale, run updates, and more...

Doing all this manually costs time, introduces human error, and kills productivity.

✅ The Solution

Ansible Template Pack is a curated set of 10 Ansible playbooks and roles you can drop into any project to:

  • Automate common server tasks 🔁
  • Standardize infrastructure setup across environments 🧱
  • Save hours of manual work every week ⏳
  • Get from zero to production ready in minutes, not hours ⚡

🧰 What’s Inside

This pack includes a modular structure with playbooks and roles for the most common DevOps needs:

ansible-starter-pack/
├── inventory/
│   └── hosts.ini
├── playbooks/
│   ├── 01-info.yml
│   ├── 02-install-common-packages.yml
│   ├── 03-set-timezone-locale.yml
│   ├── 04-system-update.yml
│   ├── 05-manage-users.yml
│   ├── 06-install-nginx.yml
│   ├── 07-install-apache.yml
│   ├── 08-configure-firewall.yml
│   ├── 09-ssh-hardening.yml
│   ├── 10-install-fail2ban.yml
├── roles/
│   ├── basic_info/
│   ├── common_packages/
│   ├── timezone_locale/
│   ├── system_update/
│   ├── user_management/
│   ├── nginx/
│   ├── apache/
│   ├── firewall/
│   ├── ssh_hardening/
│   ├── fail2ban/
├── README.md

🚀 Getting Started

1. Clone the Repo

git clone https://github.com/kamerk22/ansible-starter-pack.git
cd ansible-template-pack

2. Adjust Your Inventory

Edit inventory/hosts.ini to match your server IPs or domain names.

3. Run a Playbook

ansible-playbook -i inventory/hosts.ini playbooks 01-install-common-packages.yml

You can run any playbook individually or chain them as needed.

🧠 Pro Tips

  • All roles are modular – you can mix, match, or reuse them in your own projects.
  • Supports both Debian & RedHat-based distributions out of the box.
  • Easily extend with custom vars or new roles.

Looking for tutorials, advanced roles, or tips on mastering Ansible?

👉 Check out DevToDevOps.com Ansible Blog for detailed guides, walkthroughs, and automation insights..

📬 Want More?

New playbooks, DevOps tools, and infrastructure tips are always being shared. Subscribe at DevToDevOps.com or follow us on your favorite platform.

💡 License

MIT License — use freely in personal or commercial projects.

About

Plug-and-Play Ansible Templates for Busy DevOps

Topics

Resources

License

Stars

Watchers

Forks

Languages