# How to Random Roles

**URL:** <https://forum.ansible.com/t/how-to-random-roles/29354>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [January 2, 2019, 4:52pm UTC](https://forum.ansible.com/t/how-to-random-roles/29354 "2019-01-02T16:52:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francis\_Santos](https://avatars.discourse-cdn.com/v4/letter/f/49beb7/32.png) [@Francis\_Santos](https://forum.ansible.com/u/Francis_Santos)\
**Post date:** [January 2, 2019, 4:52pm UTC](https://forum.ansible.com/t/how-to-random-roles/29354/1 "2019-01-02T16:52:06Z")

</div>

I gotta random both the hosts and the roles.  
I successfully randomed the hosts, but I not getting the roles to random.  
Here is what I got
