Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 801 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 801 Bytes

Ansible Roles Dev

This ansible role installs and configures a development environment based on Ubuntu 20.04.
A list of software is already pre-defined based on what I use on a daily basis.
The ansible role is ready to run on a VM provisioned by Vagrant.

Pre-requisites

Python 3, Ansible, Vagrant.

How to use

Create a copy of sample-playbook.yml with the name create-env-playbook.yml, then fill all variables in the file.
Provision the machine and run the ansible playbook with the command vagrant up.
To access the VM, type vagrant ssh.
To destroy the machine run vagrant destroy.

Or you can run on an inventory using ansible-playbook -i hosts create-env-playbook.yml --tags ansible-dev-env-setup or ansible-playbook -i hosts create-env-playbook.yml -u username.