ansible-desktop/roles/autofs/tasks/ubuntu.yml
2023-08-26 23:57:26 +02:00

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