GitPedia

Ansible role samba

Ansible Role - Samba

From geerlingguy·Updated January 15, 2026·View on GitHub·

Installs Samba client and server for RHEL/CentOS and SLES/openSUSE. The project is distributed under the MIT License license, first published in 2014. Key topics include: ansible, cifs, file-sharing, role, samba.

Ansible Role: Samba (SMB)

CI

Installs Samba client and server for RHEL/CentOS and SLES/openSUSE.

Requirements

Samba requires ports 137, 138, 139, 445 to be open to function properly. For easy firewall configuration, you can use the geerlingguy.firewall role.

Role Variables

None.

Dependencies

None.

Example Playbook

- hosts: servers
  roles:
    - geerlingguy.samba

License

MIT / BSD

Author Information

This role was created in 2014 by Jeff Geerling, author of Ansible for DevOps.

Contributors

Showing top 3 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from geerlingguy/ansible-role-samba via the GitHub API.Last fetched: 6/14/2026