# Using Vagrant for testing Ansible

**URL:** <https://forum.ansible.com/t/using-vagrant-for-testing-ansible/12642>\
**Category:** Ansible Project\
**Tags:** ansible-project, ubuntu\
**Created:** [April 6, 2013, 9:37pm UTC](https://forum.ansible.com/t/using-vagrant-for-testing-ansible/12642 "2013-04-06T21:37:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [April 6, 2013, 9:37pm UTC](https://forum.ansible.com/t/using-vagrant-for-testing-ansible/12642/1 "2013-04-06T21:37:56Z")

</div>

There’s no reason anyone needs to use Vagrant to run the ansible tests, and anyone who wishes to use Vagrant can use Vagrant to do so.

Further, there’s no reason to particularly pick Ubuntu either.

Your decision to not run the tests is your mistake, and not having a “vagrant box” file in the hacking directory does nothing about whether you decided to run tests or not.

These two issues are orthogonal.

Unit tests are not going to modify anything, and when we do integration tests, we’re going to do actual multi-tier integration tests that will not require vagrant.

What you see now are basic unit tests, and yes, I run them against my actual server. They are totally safe to run there.

–Michael

---

<div class="post-metadata">

**Author:** ![George\_Miroshnykov](https://avatars.discourse-cdn.com/v4/letter/g/c4cdca/32.png) [@George\_Miroshnykov](https://forum.ansible.com/u/George_Miroshnykov)\
**Post date:** [April 6, 2013, 10:01pm UTC](https://forum.ansible.com/t/using-vagrant-for-testing-ansible/12642/2 "2013-04-06T22:01:21Z")

</div>

Hello Michael,

First of all, thanks for your response!

It looks like I’ve misunderstood the scope/impact of those tests.  
Being new to the project, I assumed they could (unintentionally) do some harm, so I’ve decided to play it safe back then.  
Now I can see why you don’t want this VM stuff as a part of the project - it’s simply not needed.

Anyway, thanks a lot for your work!

George

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [April 6, 2013, 10:03pm UTC](https://forum.ansible.com/t/using-vagrant-for-testing-ansible/12642/3 "2013-04-06T22:03:25Z")

</div>

No problem!
