Giter Club home page Giter Club logo

virtualbox-ansible's Introduction

Build Status

Ansible role Virtualbox

Installs headless Virtualbox and phpVirtualbox for remote access through Web GUI. Meant for a headless Ubuntu or Debian servers.

Once the role has run through you can access the VirtualBox GUI from a browser by opening http://<HostnameOrIP>/. Use the IP or the hostname here that Ansible was running against. Make sure port 80 is not blocked by any firewall.

For the first login use admin:admin. See more details in the phpVirtualbox docs

Requirements

Tested with Ubuntu 16.04 and 18.04. Probably works with all Debian and Ubuntu flavours and versions which are not too old.

Role Variables

Those are the role variables you probably want to change:

  • virtualbox_user: vbox - User that runs Virtualbox deamon and phpVirtualbox connects to. This is NOT the user for signing in to the phpVirtualbox GUI
  • virtualbox_user_pw: abc123 - Plaintext PW for virtualbox daemon user, needed for phpVirtualbox connection config.

There is more variables you can overwrite when using this role. For a full list see defaults/main.yml.

Dependencies

Depends on no other roles.

Example Playbook

Copy this role into the roles/mediapeers.virtualbox dir in your Ansible project. Preferably add it as a submodule. You can also install it with ansible-galaxy install mediapeers.virtualbox. Then use it like so:

- name: My playbook
  hosts: servers
  roles:
    - { role: mediapeers.virtualbox, virtualbox_user: vbox, virtualbox_user_pw: supersecretvalue }

License

BSD

Author Information

Ricky Laney [email protected]

virtualbox-ansible's People

Contributors

rlaneyjr avatar

Watchers

James Cloos avatar  avatar

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.