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: