Coder Social home page Coder Social logo

tin6150 / ansible-role-virtualbox-guest Goto Github PK

View Code? Open in Web Editor NEW

This project forked from petermosmans/ansible-role-virtualbox-guest

0.0 2.0 0.0 39 KB

Ansible role for building and installing VirtualBox guest additions (use apt)

License: GNU General Public License v3.0

apt

ansible-role-virtualbox-guest's Introduction

Ansible Role: virtualbox-guest

Build status for this role: Build Status

This role builds, installs and configures the requested VirtualBox guest additions. It searches the guest for a mounted ISO containing the VBoxGuestAdditions, or an ISO file. When not found, it can download the necessary ISO file directly from download.virtualbox.org.

Requirements

None, all prerequisites will be installed (and can be removed afterwards). If you don't set the virtualbox_keep variable to true, all packages that were installed for building will be removed (the installed packages will be exactly the same as before executing the role).

  • bzip2
  • dkms
  • gcc
  • make
  • linux-headers

Role Variables

Available variables are listed below, along with default values

virtualbox_keep: A boolean stating whether the packages necessary for compiling should be kept on the system. If not specified, defaults to no.

virtualbox_iso: The location on the guest where the ISO is expected.

virtualbox_remove_os_packages: A boolean stating whether to remove any previously installed VirtualBox packages. If not specified, defaults to no.

virtualbox_version: The requested version of VirtualBox. If the current version does not match that version, it will try to (re)install VirtualBox guest additions. If set to auto, it will try to determine the VirtualBox version of the host system. The defaults can be found in defaults/main.yml.

virtualbox_version: auto

virtualbox_x11: A boolean stating whether VirtualBox guest additions will be compiled with x11 support. If not specified, defaults to no.

Dependencies

None.

Example Playbook

- hosts: all
  become: yes
  become_method: sudo
  roles:
    - role: PeterMosmans.virtualbox-guest

This example will install VirtualBox guest additions, and will not keep the build packages to the system if they are needed to install them.

License

GPLv3

Author Information

Created by Peter Mosmans.

Contributions by Isaac Kim and Fred Leger.

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.