# Ansible role: test/test.yml

**URL:** <https://forum.ansible.com/t/ansible-role-test-test-yml/24720>\
**Category:** Ansible Project\
**Created:** [June 14, 2017, 9:48am UTC](https://forum.ansible.com/t/ansible-role-test-test-yml/24720 "2017-06-14T09:48:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Listing](https://avatars.discourse-cdn.com/v4/letter/l/3d9bf3/32.png) [@Listing](https://forum.ansible.com/u/Listing)\
**Post date:** [June 14, 2017, 9:48am UTC](https://forum.ansible.com/t/ansible-role-test-test-yml/24720/1 "2017-06-14T09:48:21Z")

</div>

Hi,

When initiating a role I noticed that there is a test folder being created with test.yml in it. When I run my roles in production environments, I always run roles by creating a playbook with the following contents:

`

```auto
---
- hosts: webservers
  roles:
     - common
     - webservers

```

`

When running this playbook, the role gets executed. But what is the difference with running the test.yml file? Is it not necessary that I create my own playbook at the parent directory that the folder with the role is also in?
