# Best way to extend/configure roles from Ansible-Galaxy

**URL:** <https://forum.ansible.com/t/best-way-to-extend-configure-roles-from-ansible-galaxy/22743>\
**Category:** Ansible Project\
**Tags:** galaxy-ng\
**Created:** [October 7, 2016, 2:48pm UTC](https://forum.ansible.com/t/best-way-to-extend-configure-roles-from-ansible-galaxy/22743 "2016-10-07T14:48:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave\_G](https://avatars.discourse-cdn.com/v4/letter/d/c68b51/32.png) [@Dave\_G](https://forum.ansible.com/u/Dave_G)\
**Post date:** [October 7, 2016, 2:48pm UTC](https://forum.ansible.com/t/best-way-to-extend-configure-roles-from-ansible-galaxy/22743/1 "2016-10-07T14:48:45Z")

</div>

I really like how easy it is to import roles from Ansible-Galaxy.

I have installed a redis role. I don’t want to check this remote role into my repo and have gitignored it (I install it with requirements.yml).

What is the best practices way to then configure redis? Should I make my own role called redis-config which then modifies the redis.conf file?

---

<div class="post-metadata">

**Author:** ![Dave\_G](https://avatars.discourse-cdn.com/v4/letter/d/c68b51/32.png) [@Dave\_G](https://forum.ansible.com/u/Dave_G)\
**Post date:** [October 7, 2016, 5:33pm UTC](https://forum.ansible.com/t/best-way-to-extend-configure-roles-from-ansible-galaxy/22743/2 "2016-10-07T17:33:25Z")

</div>

I am thinking the best way to abstract this, without creating a new role, is basically do something like this:

- hosts: my\_server  
vars:  
redis\_bind\_interface: 0.0.0.0  
roles:
- common
- zookeeper
- geerlingguy.redis
- cassandra  
become: true
