--- - 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 - name: ensure directories exist file: path={{ item }} state=directory with_items: - /etc/opt/chrome/policies/managed/ - /etc/firefox - name: copy chrome managed policy copy: src={{ item.src }} dest={{ item.dest }} backup=no with_items: - { src: 'files/web-kerberos/chrome.json', dest: '/etc/opt/chrome/policies/managed/csc-kerberos.json' } - { src: 'files/web-kerberos/firefox.js', dest: '/etc/firefox/syspref.js' } - include: etckeeper.yml