This collection includes Ansible roles and content to help with virtualization automation.
Roles included in this collection (click on the link to see the role's README and documentation):
orjangj.virtualization.docker
(documentation)orjangj.virtualization.vagrant
(documentation)orjangj.virtualization.virtualbox
(documentation)
- Ubuntu 20.04
Currently not installable from Ansible Galaxy. Historically this collection has been for personal use only.
Install using ansible-galaxy
with git url:
ansible-galaxy collection install git+https://github.com/orjangj/ansible-collection-virtualization.git
Or include this collection in your playbook's requirements.yml
file:
---
collections:
- name: https://github.com/orjangj/ansible-collection-virtualization.git
type: git
version: master
Here's an example playbook which installs Docker, and adds the ansible user to the Docker group:
- hosts: all
vars:
docker_users:
- "{{ ansible_user_id }}"
roles:
- orjangj.virtualization.docker
MIT