Added playbook to distribute web browser config for kerberos

master
Zachary Seguin 7 years ago
parent ce8f4b69bb
commit 8609bd0534
  1. 14
      distribute-kerberos.yml
  2. 3
      files/web-kerberos/chrome.json
  3. 5
      files/web-kerberos/firefox.js

@ -0,0 +1,14 @@
---
- hosts: office
remote_user: root
tasks:
- 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' }

@ -0,0 +1,3 @@
{
"AuthServerWhitelist": "*.csclub.uwaterloo.ca"
}

@ -0,0 +1,5 @@
// This file can be used to configure global preferences for Firefox
// Example: Homepage
//pref("browser.startup.homepage", "http://www.weebls-stuff.com/wab/");
pref("network.negotiate-auth.trusted-uris", ".csclub.uwaterloo.ca");