From 8bbdebfd783d01d3e9458e53dd74e9b2fc6a4606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Fri, 5 Apr 2024 16:27:13 +0200 Subject: [PATCH] fix umask --- ansible/build.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ansible/build.yaml b/ansible/build.yaml index 2b32ea6..d5e1fea 100644 --- a/ansible/build.yaml +++ b/ansible/build.yaml @@ -4,7 +4,7 @@ tasks: - name: Checkout the git repo ansible.builtin.git: - repo: 'https://github.com/nmasse-itix/red-hat-kiosk.git' + repo: 'https://github.com/bdherouville/red-hat-kiosk.git' dest: "{{ ansible_user_dir }}/red-hat-kiosk" update: yes clone: yes @@ -112,6 +112,14 @@ ansible.builtin.command: cmd: "createrepo {{ repo_location }}" + - name: Change file ownership + file: + path: "{{ repo_location }}" + owner: root + group: root + mode: u=rwX,g=rX,o=rX + recurse: yes + - name: Clean dnf cache become: true ansible.builtin.command: