26 lines
472 B
YAML
26 lines
472 B
YAML
- name: install necessary software
|
|
become: yes
|
|
apt:
|
|
update_cache: yes
|
|
pkg:
|
|
- autofs
|
|
- cifs-utils
|
|
- nfs-common
|
|
|
|
- name: copy bender.autofs
|
|
become: yes
|
|
copy:
|
|
src: etc/auto.master.d/bender.autofs
|
|
dest: /etc/auto.master.d/bender.autofs
|
|
|
|
- name: create autofs directory
|
|
file:
|
|
path: /etc/autofs
|
|
state: directory
|
|
|
|
- name: copy auto.bender
|
|
become: yes
|
|
copy:
|
|
src: etc/autofs/auto.bender
|
|
dest: /etc/autofs/auto.bender
|