Add more Firefox configuration items

This commit is contained in:
Scott Wallace 2019-01-31 21:58:27 +00:00
parent aa43fabbb0
commit 986174e7f2
2 changed files with 22 additions and 18 deletions

View file

@ -53,3 +53,5 @@
regexp: "{{ item.name | regex_replace('\\.', '\\.') }}" regexp: "{{ item.name | regex_replace('\\.', '\\.') }}"
line: "user_pref(\"{{ item.name }}\", {{ item.value }});" line: "user_pref(\"{{ item.name }}\", {{ item.value }});"
loop: "{{ firefox_user_prefs }}" loop: "{{ firefox_user_prefs }}"
loop_control:
label: "{{ item.name }}"

View file

@ -1,31 +1,33 @@
firefox_user_prefs: 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' - name: 'browser.download.dir'
value: "\"{{ '~/tmp' | expanduser }}\"" value: "\"{{ '~/tmp' | expanduser }}\""
- name: 'browser.download.useDownloadDir' - name: 'browser.download.useDownloadDir'
value: "true" value: "true"
- name: 'browser.newtabpage.activity-stream.asrouter.userprefs.cfr' - name: 'browser.newtabpage.activity-stream.asrouter.userprefs.cfr'
value: "false" value: "false"
- name: 'privacy.donottrackheader.enabled' - name: 'browser.search.hiddenOneOffs'
value: "true" value: '"Bing,Chambers (UK),eBay,Twitter"'
- name: 'signon.rememberSignons' - name: 'browser.urlbar.placeholderName'
value: '"DuckDuckGo"'
- name: 'browser.urlbar.suggest.bookmark'
value: "false" value: "false"
- name: 'browser.urlbar.suggest.history' - name: 'browser.urlbar.suggest.history'
value: "true" value: "true"
- name: 'browser.urlbar.suggest.openpage' - name: 'browser.urlbar.suggest.openpage'
value: "false" 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" value: "false"