„chromium.yml“ ändern

This commit is contained in:
olli 2022-07-14 11:49:06 +02:00
parent 31a9f8b391
commit cd209be60a

View File

@ -9,9 +9,14 @@
- 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
path: {{ item.dir }}
state: directory
mode: '0755'
with_items:
- { dir: /etc/chromium/policies/managed }
- { dir: /etc/chromium/policies/recommended }
- { dir: /var/lib/flatpak/app/com.github.Eloston.UngoogledChromium/x86_64/stable/active/files/chromium/policies/policies/managed }
- { dir: /var/lib/flatpak/app/com.github.Eloston.UngoogledChromium/x86_64/stable/active/files/chromium/policies/policies/recommended }
- name: Chromium managed policy
ansible.builtin.copy:
@ -23,11 +28,11 @@
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'
# - 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'
- name: Chromium recommended policy
ansible.builtin.copy: