openafs_contrib.openafs.openafs_selinux_relabel (1.9.0) — module

Relabel selinux context for server files

Authors: Michael Meffie

preview | supported by community

Install collection

Install with ansible-galaxy collection install openafs_contrib.openafs:==1.9.0


Add to requirements.yml

  collections:
    - name: openafs_contrib.openafs
      version: 1.9.0

Description

Relabel the server directories after the files have been installed and the configuration files updated.

Relabel the partition directories and the AlwaysAttach file, when present.

Safe the list of directories relabelled in the openafs local facts file to avoid running restorecon on subsequent plays.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Relabel
  become: yes
  openafs_contrib.openafs.openafs_selinux_relabel: