Skip to content

kumsa-Mergia/Ansible

Repository files navigation

Ansible Repository

Ansible Logo

Welcome to my Ansible Repository! This repository contains a collection of Ansible playbooks and roles organized into directories based on specific use cases and functionalities.

Directory Structure

Here is the structure of the repository with a brief description of each directory:

  • ConditionalExecution

    • Contains playbooks that demonstrate the use of conditional statements in Ansible tasks to control task execution based on specific conditions.
  • ExecutinCommand

    • Includes playbooks that execute shell commands or scripts on remote nodes using Ansible modules like command or shell.
  • GatheringFact-and-Debugging

    • Focuses on gathering facts about remote nodes using the setup module and debugging playbooks with the debug module.
  • NotifyHandlerls

    • Features examples of how to use handlers in Ansible to perform tasks triggered by notifications from other tasks.
  • Package

    • Contains playbooks to manage packages on remote systems, such as installing, updating, or removing software.
  • Files

    • Includes playbooks that handle file operations like copying, managing permissions, or creating symbolic links.
  • StorageManagment

    • Playbooks dedicated to managing storage resources such as partitions, logical volumes, and file systems on remote systems.
  • Usermanagment

    • Covers user and group management tasks, including creating, modifying, or removing users and groups.

Getting Started

Prerequisites

  • Ansible installed on your control node.
  • SSH access to your target nodes.
  • Appropriate inventory configuration.

Usage

  1. Clone this repository to your local machine:
    git clone https://github.com/kumsa-Mergia/Ansible.git
  2. Navigate to the directory of the desired functionality:
    cd Ansible/<directory-name>
  3. Run the playbook:
    ansible-playbook <playbook-name>.yml

Contributing

Contributions are welcome! If you have ideas to improve the playbooks or add new functionalities, feel free to fork the repository, make your changes, and submit a pull request.

Author

Created by Kumsa Mergia.

About

Ansible is an open source, command-line IT automation software application written in Python. It can configure systems, deploy software, and orchestrate advanced workflows to support application deployment, system updates, and more. Ansible's main strengths are simplicity and ease of use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors