From 61a31a0834fbb93b0572883ba64d14d7e59c0e6c Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Sun, 13 Jan 2019 19:01:35 +0000 Subject: [PATCH] Relax some of the Firefox configuration --- .ansible/roles/linux_desktop/tasks/firefox.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.ansible/roles/linux_desktop/tasks/firefox.yaml b/.ansible/roles/linux_desktop/tasks/firefox.yaml index ff182ca..937cbb4 100644 --- a/.ansible/roles/linux_desktop/tasks/firefox.yaml +++ b/.ansible/roles/linux_desktop/tasks/firefox.yaml @@ -17,7 +17,7 @@ - config - firefox block: - - name: 'Firefox: Download config' + - name: 'Firefox: Download lockdown (relaxed) config' get_url: url: 'https://raw.githubusercontent.com/pyllyukko/user.js/relaxed/user.js' dest: "{{ profile_path }}/user.js-lockdown" @@ -32,3 +32,15 @@ mode: '0600' force: 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);'