# AWX (ansible tower) yum module extra variables

**URL:** <https://forum.ansible.com/t/awx-ansible-tower-yum-module-extra-variables/33017>\
**Category:** Ansible Project\
**Tags:** awx\
**Created:** [May 24, 2020, 7:20pm UTC](https://forum.ansible.com/t/awx-ansible-tower-yum-module-extra-variables/33017 "2020-05-24T19:20:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jerry\_Hwang](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@Jerry\_Hwang](https://forum.ansible.com/u/Jerry_Hwang)\
**Post date:** [May 24, 2020, 7:20pm UTC](https://forum.ansible.com/t/awx-ansible-tower-yum-module-extra-variables/33017/1 "2020-05-24T19:20:49Z")

</div>

Hi,

I am trying yum module on AWX (ansible tower).  
AWX → Inventories → Run command → select module: yum etc.

In the “EXTRA VARIABLES” section on AWX WebUI, what I should put in yaml if I want to install wget for example.  
I have tried to put

name: wget  
state: present

also

name:

- wget  
state: present

It didn’t work. I googled for any reference example, couldn’t find a relevant one.

It’s obvious what to put in each variable if I use a playbook, but I am not sure what variable expected if I use the adhoc yum module in AWX WebUI.

Thanks,  
Jerry

---

<div class="post-metadata">

**Author:** ![racke](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/racke/32/4767_2.png) [@racke](https://forum.ansible.com/u/racke)\
**Post date:** [May 25, 2020, 5:20am UTC](https://forum.ansible.com/t/awx-ansible-tower-yum-module-extra-variables/33017/2 "2020-05-25T05:20:39Z")

</div>

> Hi,
> 
> I am trying yum module on AWX (ansible tower).  
> AWX -\> Inventories -\> Run command -\> select module: yum etc.
> 
> In the "EXTRA VARIABLES" section on AWX WebUI, what I should put in yaml if I want to install wget for example.  
> I have tried to put
> 
> name: wget  
> state: present
> 
> also  
> name:  
> - wget  
> state: present
> 
> It didn't work. I googled for any reference example, couldn't find a relevant one.
> 
> It's obvious what to put in each variable if I use a playbook, but I am not sure what variable expected if I use the  
> adhoc yum module in AWX WebUI.
> 
> Thanks,  
> Jerry

Hello Jerry,

this list only covers Ansible, not Tower nor AWX.

Please contact RedHat support.

Regards  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Racke
