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
|
include_tasks: tasks/install_docker_debian.yml
|
||||||
- name: Add utility scripts
|
- name: Add utility scripts
|
||||||
hosts: all
|
hosts: all
|
||||||
- name: Setup zsh
|
|
||||||
hosts: debian
|
|
||||||
become: true
|
become: true
|
||||||
remote_user: nerevar
|
remote_user: nerevar
|
||||||
tasks:
|
tasks:
|
||||||
- import_tasks: tasks/scripts.yml
|
- import_tasks: tasks/scripts.yml
|
||||||
- name: Add Nocturnal SMB share
|
# - name: Add Nocturnal SMB share
|
||||||
hosts: home
|
# hosts: home
|
||||||
vars_files:
|
# vars_files:
|
||||||
- vault/nocturnal.yml
|
# - vault/nocturnal.yml
|
||||||
|
# become: true
|
||||||
|
# tasks:
|
||||||
|
# - import_tasks: tasks/nocturnal_smb.yml
|
||||||
|
- name: Setup zsh
|
||||||
|
hosts: debian
|
||||||
become: true
|
become: true
|
||||||
remote_user: nerevar
|
remote_user: nerevar
|
||||||
tasks:
|
tasks:
|
||||||
|
|||||||
@@ -4,7 +4,8 @@
|
|||||||
key: aurbis
|
key: aurbis
|
||||||
- name: Mount (1)
|
- name: Mount (1)
|
||||||
ansible.posix.mount:
|
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
|
path: /mnt/nocturnal/share
|
||||||
state: mounted
|
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] }}"
|
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'
|
when: inventory_hostname != 'nocturnal'
|
||||||
- name: Mount (2)
|
- name: Mount (2)
|
||||||
ansible.posix.mount:
|
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
|
path: /mnt/nocturnal/local
|
||||||
state: mounted
|
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] }}"
|
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