2462d16322
This keeps each platform's "/etc" template files in a separate top-level directory. Additionally, we add a distro major version match to the task import and rename centos7 (in preparation for centos8). Change-Id: If65d51a27e30311b1da20522afb6dbce7ee6cf35
17 lines
427 B
YAML
17 lines
427 B
YAML
- name: Install Debian repository files
|
|
become: yes
|
|
template:
|
|
dest: "/{{ item }}"
|
|
group: root
|
|
mode: 0644
|
|
owner: root
|
|
src: "apt/{{ item }}.j2"
|
|
with_items:
|
|
- etc/apt/sources.list.d/default.list
|
|
- etc/apt/sources.list.d/updates.list
|
|
- etc/apt/sources.list.d/backports.list
|
|
- etc/apt/sources.list.d/security.list
|
|
- etc/apt/apt.conf.d/99unauthenticated
|
|
notify:
|
|
- Update apt cache
|