install smb for win11 iso mount on pxe

This commit is contained in:
2025-02-12 12:00:55 +01:00
parent 7a90412ebc
commit ab97cb6269
6 changed files with 101 additions and 11 deletions

View File

@@ -0,0 +1,25 @@
---
- name: install samba
apt:
pkg: samba
state: present
notify: start samba service
- name: install samba config
copy:
src: etc/samba/smb.conf
dest: /etc/samba/smb.conf
owner: root
group: root
notify:
- restart samba service
### nfs
#- name: Ensure nfs root exists
# ansible.builtin.file:
# path: "{{ item }}"
# owner: root
# group: root
# state: directory
# loop:
# - "{{ nfs_root_path }}"