deb chromium

This commit is contained in:
olli 2024-09-17 18:52:29 +02:00
parent 102260f6ef
commit e8d56be643

View File

@ -2,12 +2,12 @@
hosts: all
tasks:
# - name: Install Chromium
# apt:
# name:
# - chromium-browser
- name: Install Chromium
apt:
name:
- chromium
- name: Install Flatpaks
- name: Install Ungoogled Chromium Flatpak
community.general.flatpak:
name:
- io.github.ungoogled_software.ungoogled_chromium
@ -22,8 +22,8 @@
with_items:
- "/etc/chromium/policies/managed"
- "/etc/chromium/policies/recommended"
- "/var/lib/flatpak/app/io.github.ungoogled_software.ungoogled_chromium/current/active/files/chromium/policies/managed"
- "/var/lib/flatpak/app/io.github.ungoogled_software.ungoogled_chromium/current/active/files/chromium/policies/recommended"
# - "/var/lib/flatpak/app/io.github.ungoogled_software.ungoogled_chromium/current/active/files/chromium/policies/managed"
# - "/var/lib/flatpak/app/io.github.ungoogled_software.ungoogled_chromium/current/active/files/chromium/policies/recommended"
- name: Chromium managed policy
ansible.builtin.copy:
@ -36,7 +36,7 @@
backup: yes
with_items:
- "/etc/chromium/policies/managed/chrome.json"
- "/var/lib/flatpak/app/io.github.ungoogled_software.ungoogled_chromium/current/active/files/chromium/policies/managed/chrome.json"
# - "/var/lib/flatpak/app/io.github.ungoogled_software.ungoogled_chromium/current/active/files/chromium/policies/managed/chrome.json"
- name: Chromium recommended policy
ansible.builtin.copy:
@ -49,5 +49,5 @@
backup: yes
with_items:
- "/etc/chromium/policies/recommended/chrome.json"
- "/var/lib/flatpak/app/io.github.ungoogled_software.ungoogled_chromium/current/active/files/chromium/policies/recommended/chrome.json"
# - "/var/lib/flatpak/app/io.github.ungoogled_software.ungoogled_chromium/current/active/files/chromium/policies/recommended/chrome.json"