-project@googlegroups.com
Date: Friday 25 July 2014 01:46
To: ansible-project@googlegroups.commailto:ansible-project@googlegroups.com
ansible-project@googlegroups.commailto:ansible-project@googlegroups.com
Subject: Re: [ansible-project] using 2 loops with_first_found and with_items
Can't combine
Can't combine these two things.
Also, when using with_foo: var, don't use jinja2.
Not like:
with_items: {{ foo }}
Do it like so:
with_items: alist_variable
I'd just have a bunch of templates like so:
- template: src={{ item}} dest=/etc/apt/sources.list.d/{{ item.basename }}
with_fileglob:
Hi,
Iām trying to write role for configuration of the package management. In
this role I following setup.
ā defaults/main.yml
debain_source_list:
- name: debian
state: enabled
- name: debian-backports
state: enabled
- name: debian-lts
state: enabled
ā task/setup-Debian.yml
- name: