diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-02-23 23:20:19 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-02-23 23:20:19 +0100 |
| commit | a79459516f210f38cf3281ffe8887f27afaa84d2 (patch) | |
| tree | 2108aabe5888c031ad6c414f9d2c541f8f4e14a2 /roles/zen-browser/tasks/main.yml | |
| parent | 5935326dff6f47f76da5c6a156985b0900e56b0f (diff) | |
Install zen-browser (re-skinned firefox)
Diffstat (limited to 'roles/zen-browser/tasks/main.yml')
| -rw-r--r-- | roles/zen-browser/tasks/main.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/roles/zen-browser/tasks/main.yml b/roles/zen-browser/tasks/main.yml new file mode 100644 index 00000000..5f6c9dbb --- /dev/null +++ b/roles/zen-browser/tasks/main.yml @@ -0,0 +1,25 @@ +--- +- name: "Include OS-specific tasks" + ansible.builtin.include_tasks: "install-{{ ansible_facts['os_family'] | lower }}.yml" + +- name: "Install browserpass extension for Zen Browser" + ansible.builtin.include_tasks: "install-plugin-browserpass.yml" + when: zen_browser_install_browserpass | default(false) + +- name: "Install passff extension for Zen Browser" + ansible.builtin.include_tasks: "install-plugin-passff.yml" + when: zen_browser_install_passff | default(false) + +- name: "Set zen_browser_policies fact" + ansible.builtin.set_fact: + zen_browser_policies: "{{ zen_browser_default_policies | combine(zen_browser_policies_override) }}" + +- name: "Create Zen Browser policies file" + become: true + ansible.builtin.copy: + dest: "/opt/zen-browser-bin/distribution/policies.json" + mode: "0644" + content: | + { + "policies": {{ zen_browser_policies | tojson(indent=4) }} + } |
