24 lines
710 B
YAML
24 lines
710 B
YAML
---
|
|
# https://superuser.com/questions/1333563/disable-history-in-chromium
|
|
- name: chromium | Create policy directory
|
|
file:
|
|
path: /etc/chromium/policies/managed
|
|
state: directory
|
|
mode: 0755
|
|
|
|
- name: chromium | Add custom policies
|
|
copy:
|
|
src: policy.json
|
|
dest: /etc/chromium/policies/managed/custom_policy.json
|
|
owner: root
|
|
group: root
|
|
mode: 0444
|
|
|
|
- name: chromium | Add Wayland Ozone flags
|
|
lineinfile:
|
|
path: /etc/chromium/chromium.conf
|
|
search_string: 'CHROMIUM_FLAGS='
|
|
line: CHROMIUM_FLAGS="--enable-features=UseOzonePlatform --ozone-platform=wayland --disable-sync-preferences --disk-cache-dir="$XDG_RUNTIME_DIR/chromium-cache""
|
|
state: present
|
|
mode: 0644
|