Browse Source

Merge pull request #7 from nmasse-itix/main

fix umask
ca-cert-and-multi-ks
Bertrand d'Hérouville 2 years ago
committed by GitHub
parent
commit
b960252f43
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  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