{"id":15099696,"url":"https://github.com/abdelalidousbah/ansible-development-env","last_synced_at":"2026-02-12T08:33:51.300Z","repository":{"id":256595562,"uuid":"855840070","full_name":"AbdelaliDousbah/ansible-development-env","owner":"AbdelaliDousbah","description":"A development environment setup for Ansible using Vagrant and Libvirt, featuring Ubuntu and CentOS VMs for testing and configuration management.","archived":false,"fork":false,"pushed_at":"2024-09-17T17:10:12.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T13:48:18.474Z","etag":null,"topics":["ansible","centos","development","iac","libvirt","testing","ubuntu","vagrant"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AbdelaliDousbah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-11T14:41:51.000Z","updated_at":"2024-10-14T01:40:17.000Z","dependencies_parsed_at":"2024-12-06T08:25:28.438Z","dependency_job_id":"9bb04f64-dc37-46d6-8383-95076fd2d3ed","html_url":"https://github.com/AbdelaliDousbah/ansible-development-env","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"069fb37e7751cdcca1288e89b1e624357a9b06c0"},"previous_names":["abdelalidousbah/ansible-development-env"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdelaliDousbah%2Fansible-development-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdelaliDousbah%2Fansible-development-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdelaliDousbah%2Fansible-development-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdelaliDousbah%2Fansible-development-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AbdelaliDousbah","download_url":"https://codeload.github.com/AbdelaliDousbah/ansible-development-env/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245858880,"owners_count":20684057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","centos","development","iac","libvirt","testing","ubuntu","vagrant"],"created_at":"2024-09-25T17:26:02.854Z","updated_at":"2025-09-20T08:24:28.973Z","avatar_url":"https://github.com/AbdelaliDousbah.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Overview\n\nThis project is designed to establish an Ansible development environment using Vagrant and Libvirt. The setup includes a host machine operating as the Ansible control node and two virtual machines (VMs) that are managed via Vagrant.\n\n### Description of the Environment\n\n- **Host Machine**: The control node for Ansible, which executes playbooks and manages configuration tasks across the VMs.\n- **Virtual Machines**: Includes an Ubuntu 20.04 VM and a CentOS 8 VM, provisioned with specified resource allocations.\n- **Vagrant with Libvirt**: Manages VM provisioning and lifecycle, with configurations defined in the `Vagrantfile` and VM management handled by Libvirt.\n\nThe VMs are configured to enable Ansible to manage them through SSH. A dynamic inventory script, `vagrant_inventory.py`, generates the inventory file for Ansible.\n\n### Purpose of the Setup\n\n- **Development and Testing**: Provides a controlled environment for developing and testing Ansible playbooks and configurations.\n- **Learning and Experimentation**: Offers a practical environment for experimenting with Ansible without impacting your primary system.\n- **Configuration Management**: Demonstrates the use of Ansible in conjunction with Vagrant-managed VMs for automated setup and node management.\n\n### Topics Covered\n\n- **Ansible Basics**: Introduction to Ansible, its architecture, workflow, and installation.\n- **Ad-Hoc Commands**: Practical examples of using Ansible ad-hoc commands, categorized into system management, file operations, package management, service management, user management, resource management, log management, network management, application deployment, and scheduled tasks.\n\n### Project Status\n\n**This project is actively in progress.** The current structure includes foundational topics and practical examples, but ongoing updates will introduce additional sections and more comprehensive instructions as the project evolves.\n\n### Installation and Setup Instructions\n\n- **Host Machine Details**:\n  - **Operating System**: Ubuntu\n\n- **Software Versions**:\n  - **libvirt**: `libvirtd (libvirt) 10.0.0`\n  - **Vagrant**: `Vagrant 2.4.1`\n  - **Vagrant Plugin**: `vagrant-libvirt (0.12.2, global)`\n  - **Python**: `Python 3.12.3`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdelalidousbah%2Fansible-development-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdelalidousbah%2Fansible-development-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdelalidousbah%2Fansible-development-env/lists"}