VirtualBox
Document Control
TODO:
- Overall structure.
- Initial draft complete
- Testing
- Ready
User Story: Virtualbox
As a: UNIX and Linux system administrator
I want to: create VirtualBox VMs
So that: I can set up virtual environments.
VirtualBox
Manual Example
Task Description
Parametrization
Using the role
Use a role to:
You can create a role under roles/virtualbox
or download devopstoolbox.virtualbox using ansible-galaxy
. Create a playbook called users-playbook.yml
that defines / overrides the default variables of the role.
Using the role in a playbook
--- - name: Install virtualbox hosts: all tasks: - name: virtualbox is configured import_role: name: devopstoolbox.virtualbox vars: virtualbox_enable_service: true tags: virtualbox
# Install the role ansible-galaxy install devopstoolbox.virtualbox # Run the playbook ansible-playbook virtualbox-playbook.yml
Last update: 2020-02-09