This commit is contained in:
2024-12-01 11:11:16 +01:00
parent c5668eaef5
commit c0fe156b93
14 changed files with 235 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
- 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