# Ansible uri module with AWX

**URL:** <https://forum.ansible.com/t/ansible-uri-module-with-awx/30469>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [June 2, 2019, 5:15am UTC](https://forum.ansible.com/t/ansible-uri-module-with-awx/30469 "2019-06-02T05:15:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamroddo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/iamroddo/32/321_2.png) [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Post date:** [June 2, 2019, 5:15am UTC](https://forum.ansible.com/t/ansible-uri-module-with-awx/30469/1 "2019-06-02T05:15:51Z")

</div>

Does anyone have any examples of using the uri module in Ansible to provision AWX with things that aren’t covered by tower\_\* modules?

I have a playbook to provision jobs with tower modules. I’m trying to figure out how to get a listing of job\_templates in order to remove ones not specified in my data model and am looking for examples to base my efforts on.

---

<div class="post-metadata">

**Author:** ![Christopher\_Meyers](https://avatars.discourse-cdn.com/v4/letter/c/3e96dc/32.png) [@Christopher\_Meyers](https://forum.ansible.com/u/Christopher_Meyers)\
**Post date:** [June 2, 2019, 12:57pm UTC](https://forum.ansible.com/t/ansible-uri-module-with-awx/30469/2 "2019-06-02T12:57:28Z")

</div>

[https://github.com/chrismeyersfsu/ansible-examples/blob/ec75c7ac7af6cbd481f2d072d7f2a2ef15f7cff7/workflow\_and/and\_util.yml](https://github.com/chrismeyersfsu/ansible-examples/blob/ec75c7ac7af6cbd481f2d072d7f2a2ef15f7cff7/workflow_and/and_util.yml)  
[https://github.com/ansible/workshops/blob/e3872a5a0cd05105667c291fae8c0aeb32f6c3e8/provisioner/roles/tower\_request/tasks/main.yml#L20](https://github.com/ansible/workshops/blob/e3872a5a0cd05105667c291fae8c0aeb32f6c3e8/provisioner/roles/tower_request/tasks/main.yml#L20)

---

<div class="post-metadata">

**Author:** ![klaasdemter](https://avatars.discourse-cdn.com/v4/letter/k/3bc359/32.png) [@klaasdemter](https://forum.ansible.com/u/klaasdemter)\
**Post date:** [June 2, 2019, 6:23pm UTC](https://forum.ansible.com/t/ansible-uri-module-with-awx/30469/3 "2019-06-02T18:23:15Z")

</div>

[https://github.com/redhat-cop/infra-ansible/tree/master/roles/ansible/tower](https://github.com/redhat-cop/infra-ansible/tree/master/roles/ansible/tower)  
[https://github.com/redhat-cop/infra-ansible/blob/master/roles/ansible/tower/manage-job-templates/](https://github.com/redhat-cop/infra-ansible/blob/master/roles/ansible/tower/manage-job-templates/) especially
