move smb share to mount config file

This commit is contained in:
vincent 2020-12-14 17:31:55 +01:00
parent 8105044a1e
commit faf46004de
2 changed files with 14 additions and 13 deletions

View File

@ -86,3 +86,17 @@ credentials_files:
path: /etc/creds/.diskstation_credentials
username: admin
password: "{{ vault_diskstation_admin }}"
samba_shares:
- name: hassconfig
path: /var/lib/hass
read_only: no
writable: yes
directory_mode: 770
owner: hass
group: hass
write_list: "{{user.name}}"
samba_users:
- name: "{{user.name}}"
password: "{{ vault_smb_user }}"

View File

@ -57,19 +57,6 @@ hass_db_password: "{{ vault_mysql_hass }}"
hass_repo: "gitea@git.{{ domain.name }}:vincent/HASS_conf.git"
hass_users: "{{user.name}}"
samba_shares:
- name: hassconfig
path: /var/lib/hass
read_only: no
writable: yes
directory_mode: 770
owner: hass
group: hass
write_list: "{{user.name}}"
samba_users:
- name: "{{user.name}}"
password: "{{ vault_smb_user }}"
keystodeploy:
- name: juicessh with password