--- - name: samba role; setup the target as SMB server using an external role when: 'samba_enabled is true' include_role: name: vladgh.samba.server - name: Setup iptables samba include_role: name: iptables-samba