PHPackages                             silverstripe/deploynaut-vagrant - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. silverstripe/deploynaut-vagrant

AbandonedSilverstripe-module

silverstripe/deploynaut-vagrant
===============================

Helps setting up a developer environment for silverstripe/deploynaut

41.7k4[4 PRs](https://github.com/silverstripe-archive/deploynaut-vagrant/pulls)Shell

Since Jun 5Pushed 9y ago3 watchersCompare

[ Source](https://github.com/silverstripe-archive/deploynaut-vagrant)[ Packagist](https://packagist.org/packages/silverstripe/deploynaut-vagrant)[ RSS](/packages/silverstripe-deploynaut-vagrant/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Vagrant / Ansible test bench
============================

[](#vagrant--ansible-test-bench)

This is a SilverStripe module that provides an automated setup of a dev environment for the [deploynuat](https://github.com/silverstripe/deploynaut) module by using virtualbox, vagrant and ansible.

System requirements
-------------------

[](#system-requirements)

On your development machine you will need:

- [Virtualbox](https://www.virtualbox.org/)
- [Vagrant](https://www.vagrantup.com/)
- [Ansible](http://docs.ansible.com/intro_installation.html)

You can install ansible via `pip`:

```
sudo pip install ansible

```

Installation
------------

[](#installation)

It is meant to be installed in a project that already have deploynaut installed, see the [deploynaut installation instructions](https://github.com/silverstripe/deploynaut/blob/master/docs/en/index.md#deploynaut-1). Please note that you will **not** be required to install capistrano or php-resque, just the source code for the project.

Install this module to your current deploynaut project with composer:

```
composer require --dev "silverstripe/deploynaut-vagrant:*"

```

Start the virtual machines from the root of the project from a terminal:

```
VAGRANT_CWD=deploynaut-vagrant/ vagrant up

```

You can also only boot selected machines if you don't need the complete environment:

```
VAGRANT_CWD=deploynaut-vagrant/ vagrant up deploynaut prod

```

The purpose of using `VAGRANT_CWD` is that we need to run vagrant from the root folder of the project so that it can be mounted over shared volume into the virtual machine.

On `vagrant up` the vagrant will start three virtualbox machines and use ansible to install the necessary software for running one deploynaut site and two generic silverstripe sites.

Provisioned machines
--------------------

[](#provisioned-machines)

Note the last octet of IP is reused as the last part of the forwarded HTTP port number.

### deploynaut

[](#deploynaut)

- SSH Access: `VAGRANT_CWD=deploynaut-vagrant/ vagrant ssh deploynaut`
- hostname: deploynaut
- Internal ip address: 10.0.1.2
-
-  (resque-web for debugging failing Resque workers)

uat
---

[](#uat)

- SSH Access: `VAGRANT_CWD=deploynaut-vagrant/ vagrant ssh uat`
- hostname: uat
- Internal ip address: 10.0.1.3
-

prod
----

[](#prod)

- SSH Access: `VAGRANT_CWD=deploynaut-vagrant/ vagrant ssh prod`
- hostname: prod
- Internal ip address: 10.0.1.4
-

rep1
----

[](#rep1)

- SSH Access: `VAGRANT_CWD=deploynaut-vagrant/ vagrant ssh rep1`
- hostname: uat
- Internal ip address: 10.0.1.5
-

rep2
----

[](#rep2)

- SSH Access: `VAGRANT_CWD=deploynaut-vagrant/ vagrant ssh rep2`
- hostname: prod
- Internal ip address: 10.0.1.6
-

Detailed usage instructions
---------------------------

[](#detailed-usage-instructions)

Step by step instructions to setup a fully working environment

```
VAGRANT_CWD=ansible/ vagrant up

```

Go to the admin

The username and password is: `admin` / `password`

Configure a git repository where needed, e.g. `https://github.com/stojg/sandbox.dev.git`

You can click "Check connection", it should report "You appear to have all necessary dependencies installed"

Go to [project/mytest](http://localhost:8102/) and deploy to the selected environment. The site should be up now.

FAQ
---

[](#faq)

*Q: I have restarted (or vagrant reloaded) the deploynaut server and now it's not working!*

A: Resque might not have started. Rerun the provisioner by calling vagrant provision deploynaut.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0cba8b534e20e6ab4fff555a97b237a18436ebca1446fc0b29c8a8b504038b9?d=identicon)[GuySartorelli](/maintainers/GuySartorelli)

---

Top Contributors

[![mateusz](https://avatars.githubusercontent.com/u/118653?v=4)](https://github.com/mateusz "mateusz (12 commits)")

### Embed Badge

![Health badge](/badges/silverstripe-deploynaut-vagrant/health.svg)

```
[![Health](https://phpackages.com/badges/silverstripe-deploynaut-vagrant/health.svg)](https://phpackages.com/packages/silverstripe-deploynaut-vagrant)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
