Giter VIP home page Giter VIP logo

ansible-lab's Introduction

CI Pipeline

ansible-lab

Ansible Lab: 3 nodes setup: control node (ansible installed) + 2 workers in Vagrant (Rocky Linux 9 box). Current setup supports 2 vagrant providers:

Releases

Release Description
Rocky Linux 9 Box Complete Latest Rocky Linux box release. Requires 1 GB RAM & 1 vCPU per node.
CentOS 7 Box Complete Older CentOS 7 box release. Requires 256 MB RAM & 1 vCPU per node.

Requirements

  1. Supported Host OS:
  • Linux
  • MacOS
  • Windows
  1. Vagrant >= 2.1.5 (latest tested 2.2.19)
  2. VirtualBox >= 5.2.18
  3. (alternatively) libvirt (QEMU/KVM) = 8.6.0-5.fc37
  4. Supported Guest OS: rockylinux/9 box (CentOS successor)

Prerequisites

libvirt provider (Fedora 37)

sudo dnf install @virtualization vagrant vagrant-libvirt vagrant-sshfs vagrant-hosts vagrant-cachier

Start Lab

vagrant up

Run ansible provisioning from control-node

vagrant ssh control-node -c  "ansible-playbook /vagrant/provisioning/ansible/playbook.yml"

Destroy lab

vagrant destroy

ansible-lab's People

Contributors

nikitabugrovsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ansible-lab's Issues

Let's use more recent vagrant guest VM box rockylinux/9

It would be nice to use more recent packages in host VMs.

Due to Red Hat's decision to move to CentOS Streams, the CentOS 8 support cycle already ended on December 31, 2021. Alternatively, we can switch to Rocky Linux, a successor of CentOS.

Add libvirt provider support

It would be nice to provision lab VMs with QEMU/KVM. We should consider implementing libvirt provider for vagrant.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.