„chromium.yml“ ändern
This commit is contained in:
parent
94edc117fc
commit
8dbafb32d6
16
chromium.yml
16
chromium.yml
@ -11,6 +11,8 @@
|
||||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0755'
|
||||
with_items:
|
||||
- "/etc/chromium/policies/managed"
|
||||
@ -21,18 +23,15 @@
|
||||
- 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
|
||||
dest: "{{ item }}"
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0444'
|
||||
follow: yes
|
||||
backup: yes
|
||||
|
||||
# - 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'
|
||||
with_items:
|
||||
- "/etc/chromium/policies/managed/chrome.json"
|
||||
- "/var/lib/flatpak/app/com.github.Eloston.UngoogledChromium/x86_64/stable/active/files/chromium/policies/policies/managed/chrome.json"
|
||||
|
||||
- name: Chromium recommended policy
|
||||
ansible.builtin.copy:
|
||||
@ -43,3 +42,6 @@
|
||||
mode: '0444'
|
||||
follow: yes
|
||||
backup: yes
|
||||
with_items:
|
||||
- "/etc/chromium/policies/recommended/chrome.json"
|
||||
- "/var/lib/flatpak/app/com.github.Eloston.UngoogledChromium/x86_64/stable/active/files/chromium/policies/policies/recommended/chrome.json"
|
Loading…
Reference in New Issue
Block a user