CSC Ansible Playbooks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
ansible-playbooks/roles/common/tasks/main.yml

18 lines
688 B

---
- 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"
- name: Correct permisions on debian_csclub_uwaterloo_ca.list
file: path=/etc/apt/sources.list.d/debian_csclub_uwaterloo_ca.list mode=0644
- name: Update apt and packages (if just installed unlikely)
package: update_cache=yes upgrade=safe
- include: etckeeper.yml