disable nocturnal smb for now
interconnected dependencies are a bit hard to manage for now. revisit later.
This commit is contained in:
+9
-6
@@ -55,16 +55,19 @@
|
||||
include_tasks: tasks/install_docker_debian.yml
|
||||
- name: Add utility scripts
|
||||
hosts: all
|
||||
- name: Setup zsh
|
||||
hosts: debian
|
||||
become: true
|
||||
remote_user: nerevar
|
||||
tasks:
|
||||
- import_tasks: tasks/scripts.yml
|
||||
- name: Add Nocturnal SMB share
|
||||
hosts: home
|
||||
vars_files:
|
||||
- vault/nocturnal.yml
|
||||
# - name: Add Nocturnal SMB share
|
||||
# hosts: home
|
||||
# vars_files:
|
||||
# - vault/nocturnal.yml
|
||||
# become: true
|
||||
# tasks:
|
||||
# - import_tasks: tasks/nocturnal_smb.yml
|
||||
- name: Setup zsh
|
||||
hosts: debian
|
||||
become: true
|
||||
remote_user: nerevar
|
||||
tasks:
|
||||
|
||||
@@ -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] }}"
|
||||
|
||||
Reference in New Issue
Block a user