
I used this as a workaround on the CentOS 8 Stream system doing the install: cp /etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/mount.yml /etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/mount.yml.orig head -63 /etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/mount.yml.orig > /etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/mount.yml It removes the SE Linux lines from the mount.yml file: 63a64,75
- name: Set Gluster specific SeLinux context on the bricks sefcontext: target: "{{ (item.path | realpath | regex_escape()) + '(/.*)?' }}" setype: glusterd_brick_t state: present with_items: "{{ gluster_infra_mount_devices }}" when: gluster_set_selinux_labels| default(false)| bool == true
- name: restore file(s) default SELinux security contexts command: restorecon -Rv "{{ item.path }}" with_items: "{{ gluster_infra_mount_devices }}" when: gluster_set_selinux_labels| default(false)| bool == true
After that, it was successful.