diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-11-26 18:11:08 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-11-26 18:11:08 +0100 |
| commit | 8f685d383330836caa95ab974279a318764d23a4 (patch) | |
| tree | 57db5a58b64fa953195117d0583cc400a893fb5e /roles/firefox/tasks | |
| parent | eb4148f706000eef04f7c35e12940dbe71654f95 (diff) | |
Revert adding user.js config
Since the configs were mainly to control UI pref (which is not usable
with user.js, as it will always override manual customization)
The rest of the features provided by user.js isn't necessary and are
already covered by policies.
So for now, I'm removing this user.js integration, maybe revisit it
later if it's proven to be useful, ATM, it complicates and brittles the
setup without providing any additional value.
Diffstat (limited to 'roles/firefox/tasks')
| -rw-r--r-- | roles/firefox/tasks/main.yml | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/roles/firefox/tasks/main.yml b/roles/firefox/tasks/main.yml index e354005f..a412df0c 100644 --- a/roles/firefox/tasks/main.yml +++ b/roles/firefox/tasks/main.yml @@ -8,35 +8,6 @@ name: "{{ firefox_package }}" state: "present" -- name: "Initialize Firefox default profile" - ansible.builtin.command: "timeout 3 firefox --headless" - failed_when: false - args: - creates: "{{ firefox_folder }}/profiles.ini" - changed_when: false - -- name: "Find default Firefox profile directory" - ansible.builtin.find: - paths: "{{ firefox_folder }}" - patterns: "*.default*" - file_type: "directory" - register: firefox_default_profile - -- name: "Set Firefox profile path" - ansible.builtin.set_fact: - firefox_profile_path: "{{ firefox_default_profile.files[0].path }}" - when: firefox_default_profile.matched > 0 - -- name: "Set firefox_user_prefs fact" - ansible.builtin.set_fact: - firefox_user_prefs: "{{ firefox_default_user_prefs | combine(firefox_user_prefs_override) }}" - -- name: "Deploy user.js to Firefox profile" - ansible.builtin.template: - src: "user.js.j2" - dest: "{{ firefox_profile_path }}/user.js" - mode: "0644" - - name: "Install browserpass extension for Firefox" ansible.builtin.include_tasks: "install_browserpass.yml" when: firefox_install_browserpass | default(false) |
