Feat(Choux): autofs for Raisin
This commit is contained in:
parent
68e33722ea
commit
9f4a8ba668
1
files/autofs.raisin
Normal file
1
files/autofs.raisin
Normal file
@ -0,0 +1 @@
|
||||
raisin_doc -fstype=cifs ://Raisin/Tosh500G
|
@ -35,6 +35,7 @@
|
||||
- fzf
|
||||
- ntfs-3g
|
||||
- git-annex
|
||||
- cifs-utils
|
||||
state: present
|
||||
tags:
|
||||
- first_deployement
|
||||
@ -81,6 +82,11 @@
|
||||
become: yes
|
||||
become_user: aur_builder
|
||||
|
||||
- name: Init Samba (empty config)
|
||||
file:
|
||||
path: /etc/samba/smb.conf
|
||||
state: file
|
||||
|
||||
# - name: Install Tmuxinator
|
||||
# aur:
|
||||
# name: "{{ item }}"
|
||||
|
@ -6,18 +6,18 @@
|
||||
|
||||
- name: Create NAS share directory
|
||||
file:
|
||||
path: /media/Songe
|
||||
path: /media/Raisin
|
||||
state: directory
|
||||
|
||||
- name: Activate NAS shares for autofs
|
||||
lineinfile:
|
||||
path: /etc/autofs/auto.master
|
||||
line: '/media/Songe /etc/autofs/auto.songe --timeout=60'
|
||||
line: '/media/Raisin /etc/autofs/auto.raisin --timeout=60'
|
||||
|
||||
- name: NAS autofs config file
|
||||
template:
|
||||
src: files/autofs.songe
|
||||
dest: /etc/autofs/auto.songe
|
||||
src: files/autofs.raisin
|
||||
dest: /etc/autofs/auto.raisin
|
||||
|
||||
- name: Enable autofs daemon
|
||||
service:
|
||||
|
Loading…
Reference in New Issue
Block a user