Usage with Vagrant - HenryGP/om_ansible GitHub Wiki

Table of contents

  1. Prerequisites
  2. Usage with Vagrant
  3. Access to UIs

Prerequisites

  1. Download and install Virtual Box
  2. Install Vagrant
  3. Install Ansible
    • Ensure to install a version greater or equal to 2.4

Usage with Vagrant

  1. Navigate to the directory used for om_ansible, in this case ~/om_ansible:
    cd ~/om_ansible
    
  2. Create the Virtual Machines using vagrant:
    vagrant up
    
    • Optionally you can startup individual virtual machines:
      vagrant up opsmgr
      
  3. Set the variable vms in vars/om-install-vars.yaml to true.
  4. Provision the started Virtual Machine:
    vagrant provision <vm_name>
    
  5. ssh into the instance:
    vagrant ssh <vm_name>
    
  6. Pause environment:
    vagrant suspend
    
  7. Destroy environment:
    vagrant destroy
    

Access to UIs

⚠️ **GitHub.com Fallback** ⚠️