Evidently, some files in `/var/lib/samba` match multiple file context rules. Thus, when running `restorecon` against the entire `/var/lib/samba` directory, files in the `bind-dns` subdirectory may end up with the wrong label. To work around this issue, `restorecon` is now run only on that subdirectory to ensure the correct labels are applied. This is likely to cause problems when a full filesystem relabel is scheduled.
8 lines
262 B
YAML
8 lines
262 B
YAML
- name: restore samba file contexts
|
|
command: restorecon -RF /var/lib/samba/bind-dns
|
|
- name: display generated admin password
|
|
debug:
|
|
var=samba_dc_provision.admin_password
|
|
- name: save firewalld configuration
|
|
command: firewall-cmd --runtime-to-permanent
|