ansible-examples README

The project's README from github.com/ansible/ansible-examples. As one markdown file: README.md.

Ansible Examples

This repository contains examples and best practices for building Ansible Playbooks.

ansible-examples (ansible/ansible-examples)

Searching Database…

12.1K ·GitHub
archived
What is this?A collection of starter Ansible playbooks that demonstrate common features and show how they work together, meant as a learning reference rather than a finished app.
Is this a tool itself, or just example scripts?It is a set of example Ansible playbooks and best-practice patterns, not a standalone application. You still need Ansible itself installed to run any of them.
How do I run these examples?Clone the repository, pick one of the example playbook directories, and run it with the ansible-playbook command against your own inventory file.
Do I need Ansible installed first?Yes, Ansible has to be installed on the machine you run the playbooks from, and the target hosts need SSH access configured.
Is this repo still maintained?No, the repository is archived, so the examples are frozen and may not reflect current Ansible best practices or module syntax.
Who is this collection meant for?Mostly sysadmins and developers who are new to Ansible and want working playbook examples to learn playbook structure and conventions from.
Where can I find ready-made roles for deploying specific apps?The README points to Ansible Galaxy (galaxy.ansible.com) for community-maintained roles that deploy many popular applications.
Can I copy a playbook from here directly into my own project?Yes, each example is self-contained enough to copy and adapt, though since the repo is archived you should double-check module syntax against current Ansible docs.
What are similar projects?ansible, kubeasz, terraform, awesome-compose, awx, kubespray, salt, packer
Creator
ansible
Size
51.3 MB
Stars
12.1K
Updated
CommitAug 01
Age
13y
Commits · 90 Days