„firefox.yml“ ändern

This commit is contained in:
olli 2022-12-21 22:51:33 +01:00
parent 143e989378
commit d5130a33b1

View File

@ -29,12 +29,19 @@
with_items:
- "/usr/lib/firefox/distribution/policies.json"
- "/etc/librewolf/policies/policies.json"
- name: Create variable from command
command: "wget -q https://gitlab.com/api/v4/projects/24386000/packages/generic/librewolf/latest/LibreWolf.x86_64.AppImage.sha256 -O - | cut -d' ' -f1"
register: command_output
- set_fact:
librewolf_sha256: "{{ command_output.stdout }}"
- 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
checksum: sha256:{{ librewolf_sha256 }}
mode: "0555"
- name: /usr/local/sbin/autoupdate.d/video-download-helper.update