Expose download folder to VM
This commit is contained in:
parent
97b702f641
commit
e4c08c0a6a
@ -5,6 +5,23 @@
|
||||
- "samba"
|
||||
- "samba-client"
|
||||
|
||||
- name: "samba : configure \"music-download\" samba share"
|
||||
ansible.builtin.blockinfile:
|
||||
path: "/etc/samba/smb.conf"
|
||||
mode: 0644
|
||||
insertafter: "EOF"
|
||||
marker: "# {mark} ANSIBLE MANAGED BLOCK MUSIC:DOWNLOAD"
|
||||
block: |
|
||||
[music-download]
|
||||
comment = Music drive
|
||||
path = {{ music_user_home_directory }}/download
|
||||
browseable = yes
|
||||
read only = no
|
||||
guest ok = no
|
||||
create mask = 0644
|
||||
directory mask = 0755
|
||||
register: music_rip_samba_download_config
|
||||
|
||||
- name: "samba : configure \"music-rip\" samba share"
|
||||
ansible.builtin.blockinfile:
|
||||
path: "/etc/samba/smb.conf"
|
||||
@ -95,7 +112,8 @@
|
||||
name: "smbd"
|
||||
state: "restarted"
|
||||
when:
|
||||
(music_rip_samba_rip_config.changed or
|
||||
(music_rip_samba_download_config.changed or
|
||||
music_rip_samba_rip_config.changed or
|
||||
music_rip_samba_dvd_config.changed or
|
||||
music_rip_samba_collection_config.changed or
|
||||
music_rip_samba_archive_config.changed) and
|
||||
|
Loading…
Reference in New Issue
Block a user