configpolicy/roles/samba-dc/handlers/main.yml

14 lines
388 B
YAML

- name: reload systemd
command: systemctl daemon-reload
- 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
- name: restart samba
service:
name=samba
state=restarted