# Executing Python script in AWX job template

**URL:** <https://forum.ansible.com/t/executing-python-script-in-awx-job-template/34203>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [November 17, 2020, 11:19am UTC](https://forum.ansible.com/t/executing-python-script-in-awx-job-template/34203 "2020-11-17T11:19:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jarugumilli\_Venkata](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@Jarugumilli\_Venkata](https://forum.ansible.com/u/Jarugumilli_Venkata)\
**Post date:** [November 17, 2020, 11:19am UTC](https://forum.ansible.com/t/executing-python-script-in-awx-job-template/34203/1 "2020-11-17T11:19:20Z")

</div>

Hi,

I am new to AWX and trying to fulfil a requirement of showing running configuration of a device using AWX. I have the project , inventory and job template defined. But when i run the job, it’s not executing python script as given in the YML file.

Anyone guide me on the steps of AWX for a python script execution.

My need is to automate in python and run the python in AWX job.

Thanks in Advance,  
Krishna Prasad J V

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [November 17, 2020, 11:22am UTC](https://forum.ansible.com/t/executing-python-script-in-awx-job-template/34203/2 "2020-11-17T11:22:30Z")

</div>

You can execute using script and call python or bonus points. Translate the python script to a native ansible module.
