Relax some of the Firefox configuration

This commit is contained in:
Scott Wallace 2019-01-13 19:01:35 +00:00
parent fb45407fa5
commit 61a31a0834

View file

@ -17,7 +17,7 @@
- config - config
- firefox - firefox
block: block:
- name: 'Firefox: Download config' - name: 'Firefox: Download lockdown (relaxed) config'
get_url: get_url:
url: 'https://raw.githubusercontent.com/pyllyukko/user.js/relaxed/user.js' url: 'https://raw.githubusercontent.com/pyllyukko/user.js/relaxed/user.js'
dest: "{{ profile_path }}/user.js-lockdown" dest: "{{ profile_path }}/user.js-lockdown"
@ -32,3 +32,15 @@
mode: '0600' mode: '0600'
force: yes force: yes
backup: yes backup: yes
- name: 'Firefox: Relaxing further'
tags:
- config
- firefox
block:
- name: 'Firefox: Allow searching from URL bar'
lineinfile:
path: "{{ profile_path }}/user.js"
state: present
regexp: 'keyword\.enabled'
line: 'user_pref("keyword.enabled", true);'