jd-apprentice / ansible-playbooks

πŸ’– A list of playbooks to use!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A list of curated playbooks for the Ansible Galaxy πŸ“š

Find playbooks for every usage you need, from basic task like installing a package to set up entire environments

How Ansible Works ❓

image

Table of Contents

  1. Requirements πŸ“‹
  2. File structure πŸ“
  3. Usage πŸš€
  4. License πŸ“°
  5. Contributing 🀝

Requirements πŸ“‹

  • Ansible 2.15+
  • Python 3.10+
  • Make

Usage πŸš€

To run playbooks with a prompt, use the following command:

make run

You will be prompted to select a playbook, module and inventory file.

If you want to run a playbook without being prompted, use the following command:

make playbook playbook="playbook" module="module" inventory="inventory"

Here you expecify the playbook, module and inventory file manually.

To run an entire suite of playbooks, use the following command:

make playbook-suite playbook="playbook" inventory="inventory"

File structure πŸ“

🌳 ansible-playbooks/
┣ πŸ“ ansible/
┃ ┣ πŸ“ files/
┃ ┃ β”— πŸ“„ .gitkeep
┃ ┣ πŸ“ inventory/
┃ ┃ β”— πŸ“„ debian.ini
┃ ┣ πŸ“ playbooks/
┃ ┃ β”— πŸ“„ update-and-install.yml
┃ ┣ πŸ“ roles/
┃ ┃ ┣ πŸ“ certbot/
┃ ┃ ┃ β”— πŸ“ tasks/
┃ ┃ ┃   β”— πŸ“„ install.yml
┃ ┃ ┣ πŸ“ docker/
┃ ┃ ┃ β”— πŸ“ tasks/
┃ ┃ ┃   ┣ πŸ“„ docker-group.yml
┃ ┃ ┃   β”— πŸ“„ install.yml
┃ ┃ ┣ πŸ“ nginx/
┃ ┃ ┃ β”— πŸ“ tasks/
┃ ┃ ┃   β”— πŸ“„ install.yml
┃ ┃ β”— πŸ“ system/
┃ ┃   β”— πŸ“ tasks/
┃ ┃ ┃   ┣ πŸ“„ debian-update.yml
┃ ┃ ┃   β”— πŸ“„ ufw-web.yml
┃ β”— πŸ“„ docker.yml
┣ πŸ“ config/
┃ β”— πŸ“„ aws.mk
┣ πŸ“ docs/
┃ β”— πŸ“„ EC2.md
┣ πŸ“ scripts/
┃ β”— πŸ“„ check_and_run.sh
┣ πŸ“„ CONTRIBUTING.md
┣ πŸ“„ LICENSE
┣ πŸ“„ Makefile
β”— πŸ“„ README.md

Contributing 🀝

You can check the CONTRIBUTING file for more information.

License πŸ“œ

This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the LICENSE file for details.

About

πŸ’– A list of playbooks to use!

License:GNU General Public License v3.0


Languages

Language:Makefile 60.8%Language:Shell 29.8%Language:Jinja 9.4%