From 986174e7f22c2e66c8bfc367d62edcd3432f22af Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Thu, 31 Jan 2019 21:58:27 +0000 Subject: [PATCH] Add more Firefox configuration items --- .ansible/roles/desktop/tasks/firefox.yaml | 2 ++ .ansible/roles/desktop/vars/firefox.yaml | 38 ++++++++++++----------- 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/.ansible/roles/desktop/tasks/firefox.yaml b/.ansible/roles/desktop/tasks/firefox.yaml index 2ca7c7f..789d50e 100644 --- a/.ansible/roles/desktop/tasks/firefox.yaml +++ b/.ansible/roles/desktop/tasks/firefox.yaml @@ -53,3 +53,5 @@ regexp: "{{ item.name | regex_replace('\\.', '\\.') }}" line: "user_pref(\"{{ item.name }}\", {{ item.value }});" loop: "{{ firefox_user_prefs }}" + loop_control: + label: "{{ item.name }}" diff --git a/.ansible/roles/desktop/vars/firefox.yaml b/.ansible/roles/desktop/vars/firefox.yaml index 0755ba2..d0a4700 100644 --- a/.ansible/roles/desktop/vars/firefox.yaml +++ b/.ansible/roles/desktop/vars/firefox.yaml @@ -1,31 +1,33 @@ firefox_user_prefs: - - name: 'services.sync.username' - value: '"scott@wallace.sh"' - - name: 'services.sync.client.name' - value: "\"{{ ansible_hostname }}\"" - - name: 'browser.urlbar.placeholderName' - value: '"DuckDuckGo"' - - name: 'browser.search.hiddenOneOffs' - value: '"Bing,Chambers (UK),eBay,Twitter"' - - name: 'keyword.enabled' - value: "true" - - name: 'network.cookie.thirdparty.sessionOnly' - value: "false" - - name: 'privacy.sanitize.pending' - value: '"[{\"id\":\"shutdown\",\"itemsToClear\":[\"cache\",\"offlineApps\",\"history\",\"formdata\"],\"options\":{}},{\"id\":\"newtab-container\",\"itemsToClear\":[],\"options\":{}}]"' - name: 'browser.download.dir' value: "\"{{ '~/tmp' | expanduser }}\"" - name: 'browser.download.useDownloadDir' value: "true" - name: 'browser.newtabpage.activity-stream.asrouter.userprefs.cfr' value: "false" - - name: 'privacy.donottrackheader.enabled' - value: "true" - - name: 'signon.rememberSignons' + - name: 'browser.search.hiddenOneOffs' + value: '"Bing,Chambers (UK),eBay,Twitter"' + - name: 'browser.urlbar.placeholderName' + value: '"DuckDuckGo"' + - name: 'browser.urlbar.suggest.bookmark' value: "false" - name: 'browser.urlbar.suggest.history' value: "true" - name: 'browser.urlbar.suggest.openpage' value: "false" - - name: 'browser.urlbar.suggest.bookmark' + - name: 'keyword.enabled' + value: "true" + - name: 'network.cookie.thirdparty.sessionOnly' + value: "false" + - name: 'network.http.referer.spoofSource' + value: '"false"' + - name: 'privacy.donottrackheader.enabled' + value: "true" + - name: 'privacy.sanitize.pending' + value: '"[{\"id\":\"shutdown\",\"itemsToClear\":[\"cache\",\"offlineApps\",\"history\",\"formdata\"],\"options\":{}},{\"id\":\"newtab-container\",\"itemsToClear\":[],\"options\":{}}]"' + - name: 'services.sync.client.name' + value: "\"{{ ansible_hostname }}\"" + - name: 'services.sync.username' + value: '"scott@wallace.sh"' + - name: 'signon.rememberSignons' value: "false"