# Migrating tower\_\* modules to from tower-cli to awxkit

**URL:** <https://forum.ansible.com/t/migrating-tower-modules-to-from-tower-cli-to-awxkit/32374>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [March 3, 2020, 5:13pm UTC](https://forum.ansible.com/t/migrating-tower-modules-to-from-tower-cli-to-awxkit/32374 "2020-03-03T17:13:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juerg\_Ritter](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@Juerg\_Ritter](https://forum.ansible.com/u/Juerg_Ritter)\
**Post date:** [March 3, 2020, 5:13pm UTC](https://forum.ansible.com/t/migrating-tower-modules-to-from-tower-cli-to-awxkit/32374/1 "2020-03-03T17:13:17Z")

</div>

Hi everybody,

I’m currently trying to get the tower\_\* modules in the awx collection running on a RHEL8. My problem is, there is no tower-cli RPM package for RHEL8 / Centos 8 around, so the only way to install tower-cli is using pip. In locked down environments that is not the best option to go IMHO. Since according to [1] tower-cli is no longer supported, I was wondering whether it would make sense to migrate the tower\_\* modules to the more modern awxkit [2] library. I could start looking into this, but I wanted to check with you guys what you think about this.

Any thoughts?

–Juerg

[1] [https://github.com/ansible/tower-cli](https://github.com/ansible/tower-cli)  
[2] [https://github.com/ansible/awx/tree/devel/awxkit/awxkit](https://github.com/ansible/awx/tree/devel/awxkit/awxkit)

---

<div class="post-metadata">

**Author:** ![kdelee](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kdelee/32/193_2.png) [@kdelee](https://forum.ansible.com/u/kdelee)\
**Post date:** [March 3, 2020, 5:17pm UTC](https://forum.ansible.com/t/migrating-tower-modules-to-from-tower-cli-to-awxkit/32374/2 "2020-03-03T17:17:49Z")

</div>

Please see [https://github.com/ansible/awx/issues/5145](https://github.com/ansible/awx/issues/5145) … there is ongoing work related to this. I know some modules remain to be done.

---

<div class="post-metadata">

**Author:** ![Juerg\_Ritter](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@Juerg\_Ritter](https://forum.ansible.com/u/Juerg_Ritter)\
**Post date:** [March 3, 2020, 5:25pm UTC](https://forum.ansible.com/t/migrating-tower-modules-to-from-tower-cli-to-awxkit/32374/3 "2020-03-03T17:25:16Z")

</div>

Thanks Elijah for the link, I’ll see what can be done.

–Juerg

---

<div class="post-metadata">

**Author:** ![jpmens1](https://avatars.discourse-cdn.com/v4/letter/j/e9c0ed/32.png) [@jpmens1](https://forum.ansible.com/u/jpmens1)\
**Post date:** [March 10, 2020, 12:42pm UTC](https://forum.ansible.com/t/migrating-tower-modules-to-from-tower-cli-to-awxkit/32374/4 "2020-03-10T12:42:20Z")

</div>

tower-cli is deprecated ([https://github.com/ansible/tower-cli](https://github.com/ansible/tower-cli)) so this is currently very messy because awx-cli isn’t yet as fully developed as tower-cli was.

-JP

---

<div class="post-metadata">

**Author:** ![AlanCoding](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/alancoding/32/301_2.png) [@AlanCoding](https://forum.ansible.com/u/AlanCoding)\
**Post date:** [March 10, 2020, 1:32pm UTC](https://forum.ansible.com/t/migrating-tower-modules-to-from-tower-cli-to-awxkit/32374/5 "2020-03-10T13:32:33Z")

</div>

Simultaneously right now, some awx-cli features are being built out, and the AWX collection is being converted to remove the old tower-cli dependency.  
if you want to use the tower\_\* modules and you are on Ansible 2.9, you should install the collection and include it in your playbook. You can get the collection from Galaxy:

[https://galaxy.ansible.com/awx/awx](https://galaxy.ansible.com/awx/awx)

The 9.2.0 version still requires the old tower-cli for all modules, but if you install from our devel branch, some will not, because that very recently merged.  
Eventually, they will all either have no python dependency, or will depend on the new awx-cli.

The modules in the collection are much better maintained than they were in Ansible core, with good testing, and still keep backward compatibility. We would love to get more feedback on them.
