Set Chromium to allow third-party cookies
This commit is contained in:
parent
ba08220ec5
commit
37a56903f2
3 changed files with 11 additions and 8 deletions
|
|
@ -17,3 +17,5 @@ Aktuell vorhanden:
|
|||
|
||||
- `inventory.example.yml`
|
||||
- `site.yml` als Platzhalter-Playbook
|
||||
|
||||
Die Rolle `signage_display` setzt `BlockThirdPartyCookies: false` global fuer Chromium, damit eingebettete WebUntis-Seiten auf den Playern korrekt laufen.
|
||||
|
|
|
|||
|
|
@ -22,18 +22,12 @@
|
|||
become: true
|
||||
|
||||
- name: Deploy Chromium kiosk policy (disables translate prompt and sets language)
|
||||
ansible.builtin.copy:
|
||||
ansible.builtin.template:
|
||||
src: morz-kiosk.json.j2
|
||||
dest: /etc/chromium/policies/managed/morz-kiosk.json
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
content: |
|
||||
{
|
||||
"TranslateEnabled": false,
|
||||
"SpellcheckEnabled": false,
|
||||
"DefaultNotificationsSetting": 2,
|
||||
"DefaultGeolocationSetting": 2
|
||||
}
|
||||
become: true
|
||||
notify: Restart morz-kiosk
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"TranslateEnabled": false,
|
||||
"SpellcheckEnabled": false,
|
||||
"DefaultNotificationsSetting": 2,
|
||||
"DefaultGeolocationSetting": 2,
|
||||
"BlockThirdPartyCookies": false
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue