# Howto to use a ansible-galaxy role in a task

**URL:** <https://forum.ansible.com/t/howto-to-use-a-ansible-galaxy-role-in-a-task/22368>\
**Category:** Ansible Developer\
**Tags:** fedora, galaxy-ng\
**Created:** [August 24, 2016, 10:32am UTC](https://forum.ansible.com/t/howto-to-use-a-ansible-galaxy-role-in-a-task/22368 "2016-08-24T10:32:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nathan\_Husken](https://avatars.discourse-cdn.com/v4/letter/n/b38774/32.png) [@Nathan\_Husken](https://forum.ansible.com/u/Nathan_Husken)\
**Post date:** [August 24, 2016, 10:32am UTC](https://forum.ansible.com/t/howto-to-use-a-ansible-galaxy-role-in-a-task/22368/1 "2016-08-24T10:32:59Z")

</div>

Hi,

I have a ansible playbook which setups the configuration of my work computer (which uses fedora).

I discovered [https://galaxy.ansible.com/eddyhub/gnome\_shell/](https://galaxy.ansible.com/eddyhub/gnome_shell/) which allows me to install gnome extensions. But I am unsure of how to integrate this in my existing playbook.

I would like to create a task in a role of the playbook that installs the gnome extensions. So how do I call a role from ansible-galaxy from within a task?

Thanks!
