I expect
apt to use this syntax
- name: Install a list of packages
apt:
name: "{{ packages }}"
vars:
packages:
- foo
- foo-tools
instead
it uses
apt: name={{item}} state=present
with_items:
- python
- python-dev
Files
# check with
find . -name \*.yml -exec grep -C4 -nH apt {} \;