21 lines
627 B
YAML
21 lines
627 B
YAML
---
|
|
- name: Configure /etc/apt/sources.list
|
|
template:
|
|
src: '{{ ansible_distribution | lower}}.sources.list'
|
|
dest: /etc/apt/sources.list
|
|
mode: 0644
|
|
owner: root
|
|
group: root
|
|
|
|
- name: Add debian.csclub.uwaterloo.ca GPG key
|
|
apt_key:
|
|
url: http://debian.csclub.uwaterloo.ca/csclub.asc
|
|
state: present
|
|
- name: Add debian.csclub.uwaterloo.ca repository
|
|
apt_repository:
|
|
repo: '{{ item }}'
|
|
state: present
|
|
with_items:
|
|
- 'deb http://debian.csclub.uwaterloo.ca/ {{ ansible_distribution_release }} main'
|
|
- 'deb-src http://debian.csclub.uwaterloo.ca/ {{ ansible_distribution_release }} main'
|