Hi everyone,
I have this task:
--------------------------------------------
- name: install test rpms
sudo: yes
yum: pkg={{ item }} state=latest
with_items: common_rpms_deps
--------------------------------------------
and the following yml:
--------------------------------------------
unittest:
rpm_deps: [
python-cliff, python-requests-mock, python-webtest
]
common_rpm_deps: [
gcc, git, python-devel, python-tox, python-testrepository, python-mock,
python-pip
python-testscenarios, python-oslo, "{{
hostvars[inventory_hostname][tester.name]['rpm_deps'] }}"
]
--------------------------------------------
when running it, I get:
msg: this module requires key=value arguments
(['pkg=gcc,git,python-devel,python-tox,python-testrepository,python-mock,python-pip',
'python-testscenarios,python-oslo,python-cliff,python-requests-mock,python-webtest',
'state=latest'])
Tried many things, but cant seem to resolve it.
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/9a6e6349-a46b-4231-93d4-6f0f6c72291e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.