AWX (ansible tower) yum module extra variables

17 views
Skip to first unread message

Jerry Hwang

unread,
May 24, 2020, 3:20:49 PM5/24/20
to Ansible Project
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

Stefan Hornburg (Racke)

unread,
May 25, 2020, 1:21:10 AM5/25/20
to ansible...@googlegroups.com
Hello Jerry,

this list only covers Ansible, not Tower nor AWX.

Please contact RedHat support.

Regards
Racke

>
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> ansible-proje...@googlegroups.com <mailto:ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/a856a5b9-10ad-42c0-9848-97a1d86e8b28%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/a856a5b9-10ad-42c0-9848-97a1d86e8b28%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

signature.asc
Reply all
Reply to author
Forward
0 new messages