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

23 views
Skip to first unread message

rang...@gmail.com

unread,
Oct 31, 2018, 2:46:21 AM10/31/18
to Ansible Project
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

Mohan L

unread,
Oct 31, 2018, 4:28:09 AM10/31/18
to Ansible Project
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. 



Thanks
Mohan L
Reply all
Reply to author
Forward
0 new messages