Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.
/ micro-awx Public archive

A vagrant environment for awx and gitlab.

Notifications You must be signed in to change notification settings

zmird/micro-awx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micro-awx

Vagrant environment for Awx and Gitlab.

Getting Started

Download and install vagrant from the official page. Install the vagrant-hosts plugin:

~ $ vagrant plugin install vagrant-hosts

Create all the machines by running

~ $ vagrant up

Awx

To start awx run

~ $ vagrant up awx

Open the browser at http://192.168.50.10 and wait until the migration is done.

Awx migration

After the migration is over the login page will appear, default username and password are admin password and you are done!

Awx dashboard

Gitlab

Note: The Gitlab installation can take some time

To start gitlab and the runner run

~ $ vagrant up gitlab runner-1

After Gitlab started you can find at http://192.168.50.11, set the new password, the admin username is root. For registering the runner check the official documentation, here.

Windows VMs

Note: the import and the creation of the virtual machine may take some time

To use windows you need additional steps: download the official vagrant box from the microsoft website and import the vagrant box (renamed windows10.box):

~ $ vagrant box add Win10.box --name windows10

Install the additional vagrant plugin for winrm:

~ $ vagrant plugin install winrm winrm-fs

Start the windows vm with

~ $ vagrant up target-windows-1

To connect with ansible to a windows machine you need the following dependencies:

~ $ pip install pywinrm

To execute commands inside the vm you can use the winrm module:

~ $ vagrant winrm --shell powershell --command "Get-NetIPAddress"

Useful links for windows

Windows setup guides

Using Ansible and Windows

Windows modules