Browse Source

fix umask

ca-cert-and-multi-ks
Nicolas Massé 2 years ago
parent
commit
8bbdebfd78
  1. 10
      ansible/build.yaml

10
ansible/build.yaml

@ -4,7 +4,7 @@
tasks: tasks:
- name: Checkout the git repo - name: Checkout the git repo
ansible.builtin.git: 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" dest: "{{ ansible_user_dir }}/red-hat-kiosk"
update: yes update: yes
clone: yes clone: yes
@ -112,6 +112,14 @@
ansible.builtin.command: ansible.builtin.command:
cmd: "createrepo {{ repo_location }}" 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 - name: Clean dnf cache
become: true become: true
ansible.builtin.command: ansible.builtin.command:

Loading…
Cancel
Save