librewolf as appimage

This commit is contained in:
olli 2022-12-21 22:27:55 +01:00
parent 1090f80d53
commit b2a2f4d667

View File

@ -16,15 +16,21 @@
- name: Firefox policy - name: Firefox policy
ansible.builtin.copy: ansible.builtin.copy:
src: policies.json src: policies.json
dest: /usr/lib/firefox/distribution/policies.json dest: "{{ item }}"
owner: root owner: root
group: root group: root
mode: '0444' mode: '0444'
backup: yes backup: yes
with_items: with_items:
- "/usr/lib/firefox/distribution/policies.json" - "/usr/lib/firefox/distribution/policies.json"
- "/var/lib/flatpak/app/io.gitlab.librewolf-community/x86_64/stable/active/files/lib/librewolf/settings/distribution/policies.json" - "/etc/librewolf/policies/policies.json"
- "/var/lib/flatpak/app/io.gitlab.librewolf-community/x86_64/stable/active/files/lib/librewolf/distribution/policies.json"
- name: Download LibreWolf as Appimage (flatpak ignores policies.json)
ansible.builtin.get_url:
url: https://gitlab.com/api/v4/projects/24386000/packages/generic/librewolf/latest/LibreWolf.x86_64.AppImage
dest: /usr/local/bin/librewolf
checksum: sha256:https://gitlab.com/api/v4/projects/24386000/packages/generic/librewolf/latest/LibreWolf.x86_64.AppImage.sha256
mode: "0555"
- name: /usr/local/sbin/autoupdate.d/video-download-helper.update - name: /usr/local/sbin/autoupdate.d/video-download-helper.update
blockinfile: blockinfile: