chromium/chromium.yml

35 lines
1.2 KiB
YAML
Raw Normal View History

2022-07-14 09:17:45 +02:00
- name: Chromium setup
hosts: all
tasks:
2022-07-14 09:34:05 +02:00
- name: Create a directory if it does not exist
ansible.builtin.file:
path: /var/lib/flatpak/app/com.github.Eloston.UngoogledChromium/x86_64/stable/active/files/chromium/policies/policies/managed
state: directory
mode: '0755'
2022-07-14 09:17:45 +02:00
- name: Chromium managed policy
ansible.builtin.copy:
src: chromium-managed.json
dest: /var/lib/flatpak/app/com.github.Eloston.UngoogledChromium/x86_64/stable/active/files/chromium/policies/policies/managed/chrome.json
owner: root
group: root
mode: '0444'
2022-07-14 09:25:25 +02:00
follow: yes
2022-07-14 09:17:45 +02:00
backup: yes
2022-07-14 09:34:05 +02:00
- name: Create a directory if it does not exist
ansible.builtin.file:
path: /var/lib/flatpak/app/com.github.Eloston.UngoogledChromium/x86_64/stable/active/files/chromium/policies/policies/recommended
state: directory
mode: '0755'
2022-07-14 09:17:45 +02:00
- name: Chromium recommended policy
ansible.builtin.copy:
src: chromium-recommended.json
dest: /var/lib/flatpak/app/com.github.Eloston.UngoogledChromium/x86_64/stable/active/files/chromium/policies/policies/recommended/chrome.json
owner: root
group: root
mode: '0444'
2022-07-14 09:25:25 +02:00
follow: yes
2022-07-14 09:17:45 +02:00
backup: yes