An open API service indexing awesome lists of open source software.

https://github.com/jd-apprentice/ansible-playbooks

💖 A list of playbooks to use!
https://github.com/jd-apprentice/ansible-playbooks

Last synced: about 1 month ago
JSON representation

💖 A list of playbooks to use!

Awesome Lists containing this project

README

          

# 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](https://github.com/jd-apprentice/ansible-playbooks/assets/68082746/35c5970c-c583-46fb-b626-625bf8bdc53b)

# Table of Contents

1. [Requirements 📋](#requirements-)
2. [File structure 📁](#file-structure-)
3. [Usage 🚀](#usage-)
4. [License 📰](#license-)
5. [Contributing 🤝](#contributing-)

## Requirements 📋

- Ansible 2.15+
- Python 3.10+
- Make

## Usage 🚀

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

```bash
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:

```bash
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:

```bash
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](CONTRIBUTING.md) file for more information.

## License 📜

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