zuul-jobs/roles/configure-mirrors/tasks/mirror/Ubuntu.yaml
Albin Vass 9062289151 Check for loop_control in with_ type loops
Change-Id: I191265df7709a6262b44a428d78fe28ffaeb4b75
2020-05-01 13:45:34 +02:00

16 lines
327 B
YAML

- name: Install Ubuntu repository files
become: yes
template:
dest: "/{{ zj_repo }}"
group: root
mode: 0644
owner: root
src: "apt/{{ zj_repo }}.j2"
with_items:
- etc/apt/sources.list
- etc/apt/apt.conf.d/99unauthenticated
loop_control:
loop_var: zj_repo
notify:
- Update apt cache