# Wrapper script to apply a single role on a host

**URL:** <https://forum.ansible.com/t/wrapper-script-to-apply-a-single-role-on-a-host/15154>\
**Category:** Ansible Project\
**Created:** [May 4, 2014, 2:03pm UTC](https://forum.ansible.com/t/wrapper-script-to-apply-a-single-role-on-a-host/15154 "2014-05-04T14:03:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tomas\_Karasek1](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@Tomas\_Karasek1](https://forum.ansible.com/u/Tomas_Karasek1)\
**Post date:** [May 4, 2014, 2:03pm UTC](https://forum.ansible.com/t/wrapper-script-to-apply-a-single-role-on-a-host/15154/1 "2014-05-04T14:03:57Z")

</div>

Hello,

I have a plenty or ansible roles for various administrative tasks, and I sometimes want to run a single role on a host. Also, now and then, I stumble upon a role in a github repo and I wonder how would it work for me; and want to quickly try it out. I wrote a simple script to automate such effort, and I put it on github. I would like to share the script, maybe someone else will find it useful too.

It’s in  
[https://github.com/t0mk/ansible-utils](https://github.com/t0mk/ansible-utils)

as  
ansible-apply-role-to-host

I hope this group is the place to share such stuff.

Cheers,  
Tomas
