Files
nomad-nummer5/ansible/roles/autofs/tasks/main.yaml
Udo Waechter b5eb5d495d
All checks were successful
continuous-integration/drone/push Build is passing
ansible
2024-12-01 11:11:16 +01:00

24 lines
407 B
YAML

- name: Install autofs
apt:
state: present
name:
- autofs
- name: Create /net
file:
path: /net
state: directory
- name: Update auto.master
lineinfile:
path: /etc/auto.master
regexp: '^#/net'
line: /net -hosts
register: auto_master_update
- name: Restart autofs
service:
name: autofs
state: restarted
when: auto_master_update.changed