Added playbook to distribute web browser config for kerberos
[public/csc-playbooks.git] / distribute-kerberos.yml
1 ---
2 - hosts: office
3   remote_user: root
4   tasks:
5      - name: ensure directories exist
6        file: path={{ item }} state=directory
7        with_items:
8          - /etc/opt/chrome/policies/managed/
9          - /etc/firefox
10      - name: copy chrome managed policy
11        copy: src={{ item.src }} dest={{ item.dest }} backup=no
12        with_items:
13          - { src: 'files/web-kerberos/chrome.json', dest: '/etc/opt/chrome/policies/managed/csc-kerberos.json' }
14          - { src: 'files/web-kerberos/firefox.js', dest: '/etc/firefox/syspref.js' }