All Projects → crivetimihai → ansible_virtualization

crivetimihai / ansible_virtualization

Licence: other
Ansible Collection: Virtualization roles

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to ansible virtualization

packer-centos
Create CentOS images for different hypervisors with Packer
Stars: ✭ 18 (-41.94%)
Mutual labels:  vagrant, virtualbox, vmware, kvm
Node Libvirt
libvirt bindings for google v8 javascript engine (nodejs addon)
Stars: ✭ 162 (+422.58%)
Mutual labels:  vmware, virtualization, lxc, kvm
Osx Vm Templates
macOS templates for Packer and VeeWee.
Stars: ✭ 1,050 (+3287.1%)
Mutual labels:  vagrant, virtualbox, vmware, virtualization
Packer Centos 6
This build has been moved - see README.md
Stars: ✭ 78 (+151.61%)
Mutual labels:  vagrant, virtualbox, vmware
Bento
Packer templates for building minimal Vagrant baseboxes for multiple platforms
Stars: ✭ 3,779 (+12090.32%)
Mutual labels:  vagrant, virtualbox, vmware
Packer Templates
Packer templates for Vagrant base boxes
Stars: ✭ 471 (+1419.35%)
Mutual labels:  vagrant, virtualbox, vmware
halcyon-vagrant-kubernetes
Vagrant deployment mechanism for halcyon-kubernetes.
Stars: ✭ 12 (-61.29%)
Mutual labels:  vagrant, virtualbox, kvm
Vermin
The smart virtual machines manager. A modern CLI for Vagrant Boxes.
Stars: ✭ 110 (+254.84%)
Mutual labels:  vagrant, virtualbox, virtualization
Vagrant Docker Vm
💻 Development Vagrant VM with Docker, Samba and Mail sandbox (customizable)
Stars: ✭ 97 (+212.9%)
Mutual labels:  vagrant, virtualbox, vmware
docker-hands-on-guide
Hands on guide for docker, k8s cluster lightweight virtualization.
Stars: ✭ 25 (-19.35%)
Mutual labels:  vagrant, virtualbox, vmware
upstream-institute-virtual-environment
A Vagrant-based image creator for OpenStack Upstream Training sessions
Stars: ✭ 18 (-41.94%)
Mutual labels:  vagrant, virtualbox, vmware
insaneworks-packer-template
CentOS 7-8 8Stream / AlmaLinux 8 / FreeBSD 12 - 13 x64 + VirtualBox / VMWare for Packer Template + FreeBSD 13 / AlmaLinux 9 + Parallels
Stars: ✭ 38 (+22.58%)
Mutual labels:  vagrant, virtualbox, vmware
Robox
The tools needed to robotically create/configure/provision a large number of operating systems, for a variety of hypervisors, using packer.
Stars: ✭ 303 (+877.42%)
Mutual labels:  vagrant, virtualbox, vmware
Vagrant Boxes
baseboxes build with packer.io for use with vagrant
Stars: ✭ 291 (+838.71%)
Mutual labels:  vagrant, virtualbox, vmware
packer-ubuntu
No description or website provided.
Stars: ✭ 29 (-6.45%)
Mutual labels:  vagrant, virtualbox, vmware
Packer Ubuntu 1804
This build has been moved - see README.md
Stars: ✭ 101 (+225.81%)
Mutual labels:  vagrant, virtualbox, vmware
ansible-role-test-vms
DEPRECATED - A Vagrant configuration to test Ansible roles against a variety of Linux distributions.
Stars: ✭ 42 (+35.48%)
Mutual labels:  vagrant, virtualbox, vmware
Project-Mendacius
A GUI based virtualisation tool for running Linux on macOS Big Sur (x86 or arm64)
Stars: ✭ 107 (+245.16%)
Mutual labels:  virtualbox, vmware, virtualization
Asm
Assembly Tutorial for DOS
Stars: ✭ 125 (+303.23%)
Mutual labels:  virtualbox, vmware, virtualization
Packer Build
Packer Automated VM Image and Vagrant Box Builds
Stars: ✭ 199 (+541.94%)
Mutual labels:  vagrant, virtualbox, kvm

Ansible Virtualization Collection

Ansible Galaxy Collection: Virtualization:

  • KVM
  • VirtualBox
  • VMware Workstation
  • LXC/LXD
  • Docker-CE
  • Podman (with Buildah and Skopeo)
  • Packer
  • Vagrant
  • VM Tools (VMware, VirtualBox and KVM)
  • VMVagrant: setup a virtual machine for vagrant (user, ssh key, etc)

Tested on:

  • CentOS 7
  • RHEL 8
  • Fedora 30
  • Ubuntu 18.04
  • Debian 10

Example

Install the role:

pip install --upgrade ansible
ansible-galaxy collection install crivetimihai.virtualization

playbook.yml example

- name: setup a virtualization environment
  hosts: all
  connection: local
  become: yes
  gather_facts: yes
  roles:
    - role: crivetimihai.virtualization.kvm
    - role: crivetimihai.virtualization.lxd
    - role: crivetimihai.virtualization.vmware
    - role: crivetimihai.virtualization.virtualbox
    - role: crivetimihai.virtualization.podman
    - role: crivetimihai.virtualization.docker
    - role: crivetimihai.virtualization.packer
    - role: crivetimihai.virtualization.vagrant

Running the playbook

Change to the python interpreter location on the target system.

ansible-playbook -i localhost, playbook.yml \
  -e "vmware_workstation_license_key='XXXXX-XX...'" \
  -e "ansible_python_interpreter=/usr/bin/python3"

Running tests

molecule --debug create
molecule --debug converge
molecule login
molecule destroy

# Test one scenario:
molecule converge -s rhel-8

# Create a new role
molecule init role -r new_role -d docker

See also:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].