Files
homelab/ansible/preparing-playbook/reza-ansible/roles/preparing_server/tasks/fstab.yml

19 lines
287 B
YAML

---
- name: remove /tmp from fstab
become: 'yes'
mount:
path: /tmp
state: absent
tags:
- fstab
- name: remove floppy from fstab
become: 'yes'
ansible.builtin.lineinfile:
path: /etc/fstab
state: absent
regexp: '^(.*)floppy(.*)$'
tags:
- fstab
...