ansible
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-12-01 11:11:16 +01:00
parent 05c9a5fc2a
commit b5eb5d495d
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