Skip to content

GuilhermeStracini/hello-world-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Hello World Ansible

πŸ“š A repository to explore and learn Ansible, a powerful open-source automation tool for configuration management, application deployment, and task orchestration.


Overview

This repository provides hands-on examples to get started with Ansible, focusing on:

  • Writing and testing playbooks for automation tasks.
  • Understanding and creating inventories for target systems.
  • Exploring integrations with tools like Docker, Terraform, and CI/CD pipelines.

Ansible enables infrastructure automation with a simple and agentless architecture, making it ideal for system administrators and DevOps engineers.


Features

  • Beginner-Friendly:

    • Step-by-step examples for setting up and running Ansible.
    • Basic playbooks for common automation tasks.
  • Advanced Use Cases:

    • Demonstrates integration with tools like Docker and Terraform.
    • Includes examples for CI/CD pipelines and infrastructure orchestration.
  • Testing with Docker:

    • Learn how to test Ansible playbooks locally using Docker containers.

Getting Started

Follow these steps to set up and use Ansible locally.

Prerequisites

Steps

  1. Clone the Repository:

    git clone https://github.com/GuilhermeStracini/hello-world-ansible.git
    cd hello-world-ansible
  2. Set Up an Inventory:

  3. Run a Playbook:

    ansible-playbook -i inventory playbook.yml
  4. Test with Docker (Optional):

    • Use Docker containers as target systems for testing:
      ansible-playbook -i docker_inventory.yml playbook.yml

Helpful Links

Expand your knowledge with these resources:


Contribution

Contributions are welcome! If you'd like to enhance this repository, feel free to:

  • Fork the repository.
  • Create a new branch for your feature or bug fix.
  • Submit a pull request with a detailed description.

License

This project is licensed under the MIT License.

About

πŸ“š A repository to learn Ansible

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published