ansible-role-samba
ansible-role-samba copied to clipboard
Wrong service names for Arch Linux
The service names for Arch Linux are incorrect in roles/samba/vars/os_Archlinux.yml
https://wiki.archlinux.org/title/Samba#Enabling_and_starting_services
TASK [bertvv.samba : Start Samba service(s)] ***********************************
failed: [test] (item=smbd) => {"ansible_loop_var": "item", "changed": false, "item": "smbd", "msg": "Could not find the requested service smbd: host"}
failed: [test] (item=nmbd) => {"ansible_loop_var": "item", "changed": false, "item": "nmbd", "msg": "Could not find the requested service nmbd: host"}
This is fixed in #45, could you accept that pull request please? Otherwise, this role just doesn't work on Arch Linux hosts, because samba_services
is not a parameter than can be overriden when including the role.