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:
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
racke
(Stefan Hornburg)
2
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
Racke