d45cfa287d
- Improve the structure to support multiple distributions - Use one task to set up the different repository files - Use handler to update the apt cache Change-Id: I90933164cbca9d230cebeb3e2e1263c7806db840
14 lines
279 B
YAML
14 lines
279 B
YAML
- name: Install Ubuntu repository files
|
|
become: yes
|
|
template:
|
|
dest: "/{{ item }}"
|
|
group: root
|
|
mode: 0644
|
|
owner: root
|
|
src: "{{ item }}.j2"
|
|
with_items:
|
|
- etc/apt/sources.list
|
|
- etc/apt/apt.conf.d/99unauthenticated
|
|
notify:
|
|
- Update apt cache
|