disable nocturnal smb for now

interconnected dependencies are a bit hard to manage for now.
revisit later.
This commit is contained in:
2025-02-03 22:23:12 +01:00
parent c65a8f6e6a
commit 59fdfe605e
2 changed files with 13 additions and 8 deletions
+4 -2
View File
@@ -4,7 +4,8 @@
key: aurbis
- name: Mount (1)
ansible.posix.mount:
src: //{{ hostvars['nocturnal']['ansible_host']}}/nocturnal
#src: //{{ hostvars['nocturnal']['ansible_host']}}/nocturnal
src: //{{ hostvars['nocturnal']['internal_ip'] | default(hostvars['nocturnal']['ansible_host']) }}/nocturnal
path: /mnt/nocturnal/share
state: mounted
opts: "_netdev,username={{ nocturnal_smb_username }},password={{ nocturnal_smb_password }},file_mode=0775,dir_mode=0775,uid=0,gid={{ getent_group['aurbis'][1] }}"
@@ -12,7 +13,8 @@
when: inventory_hostname != 'nocturnal'
- name: Mount (2)
ansible.posix.mount:
src: //{{ hostvars['nocturnal']['ansible_host']}}/nocturnalocal
#src: //{{ hostvars['nocturnal']['ansible_host']}}/nocturnalocal
src: //{{ hostvars['nocturnal']['internal_ip'] | default(hostvars['nocturnal']['ansible_host']) }}/nocturnalocal
path: /mnt/nocturnal/local
state: mounted
opts: "_netdev,username={{ nocturnal_smb_username }},password={{ nocturnal_smb_password }},file_mode=0775,dir_mode=0775,uid=0,gid={{ getent_group['aurbis'][1] }}"