# How to add a particular module to Ansible than merely doing an Ansible upgrade totally

**URL:** <https://forum.ansible.com/t/how-to-add-a-particular-module-to-ansible-than-merely-doing-an-ansible-upgrade-totally/28904>\
**Category:** Ansible Project\
**Created:** [October 31, 2018, 6:46am UTC](https://forum.ansible.com/t/how-to-add-a-particular-module-to-ansible-than-merely-doing-an-ansible-upgrade-totally/28904 "2018-10-31T06:46:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rangapv08](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@rangapv08](https://forum.ansible.com/u/rangapv08)\
**Post date:** [October 31, 2018, 6:46am UTC](https://forum.ansible.com/t/how-to-add-a-particular-module-to-ansible-than-merely-doing-an-ansible-upgrade-totally/28904/1 "2018-10-31T06:46:21Z")

</div>

Hi,  
My current version of Ansible is 2.4.3.0

I need the module “gcp\_compute\_instance” which is introduced in Ansible 2.6 as per documents.

Is there a way I can just only add this package to my current Ansible version or is the only way is to upgrade Ansible totally to 2.6 version.

Regards

Ranga

---

<div class="post-metadata">

**Author:** ![Foss\_Geek](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@Foss\_Geek](https://forum.ansible.com/u/Foss_Geek)\
**Post date:** [October 31, 2018, 8:28am UTC](https://forum.ansible.com/t/how-to-add-a-particular-module-to-ansible-than-merely-doing-an-ansible-upgrade-totally/28904/2 "2018-10-31T08:28:09Z")

</div>

Hi Ranga,

If you can then upgrade to 2.6 version so you get other 2.6 new features. If you have any restriction to upgrade from 2.4 to 2.6 then may be you can use that specific module as custom module in your playbook library directory or role library directory.

[https://docs.ansible.com/ansible/2.5/user\_guide/playbooks\_best\_practices.html#content-organization](https://docs.ansible.com/ansible/2.5/user_guide/playbooks_best_practices.html#content-organization)

[https://docs.ansible.com/ansible/latest/user\_guide/playbooks\_best\_practices.html#bundling-ansible-modules-with-playbooks](https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#bundling-ansible-modules-with-playbooks)

Thanks  
Mohan L
