Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 777 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 777 Bytes

Ansible Provisioning Test Bed

This is repository to use and test ansible provisioning

Installation

  1. Install ansible, at least version 2.0
  2. Install vagrant
  3. Check out this repository
  4. Run vagrant up --provision (and then vagrant destroy) once to ensure that everything is fetched properly

Usage

You can provision a virtual machine (VM) using vagrant just by running

vagrant up --provision

Shutting down the VM again:

vagrant halt

You can also provision external systems just like the VM is provisioned by running the provisioning file for a dedicated inventory:

ansible-playbook -i ansible/<inventory> ansible/provision.yml