Initial Lab Setup

This commit is contained in:
2026-07-06 16:45:51 +02:00
commit 05184d778d
52 changed files with 2526 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
---
- name: Install and Configure Samba
hosts: samba_servers
become: yes
tasks:
- name: Install Samba
package:
name: samba
state: present
- name: Ensure NFS utilities are installed.
apt:
name:
- nfs-common
- nfs-kernel-server
state: present
- name: Configure smb.conf
template:
src: smb.conf.template
dest: /etc/samba/smb.conf
notify: restart samba
# handlers:
# - name: restart samba
# service:
# name: smbd
# state: restarted
# state: present