From cd209be60a7d6554b557694521a9f1f292b5ffe6 Mon Sep 17 00:00:00 2001 From: olli Date: Thu, 14 Jul 2022 11:49:06 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Echromium.yml=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chromium.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/chromium.yml b/chromium.yml index 313d9a3..5e22a52 100644 --- a/chromium.yml +++ b/chromium.yml @@ -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: