Commit aec9b968 authored by Simon Cornet's avatar Simon Cornet
Browse files

feat: add fstab management

parent 1a5ce09b
Loading
Loading
Loading
Loading
Loading

tasks/fstab.yaml

0 → 100644
+13 −0
Original line number Diff line number Diff line
---

# mount /var/logs as tmpfs
- name: "mount - /var/logs"
  ansible.posix.mount:
    path: "/var/log"
    src: "tmpfs"
    fstype: "tmpfs"
    opts: "defaults,noatime,size=10M"
    state: "mounted"
    dump: "0"
    passno: "0"
  when: ansible_os_family == "Alpine"
+6 −0
Original line number Diff line number Diff line
@@ -42,6 +42,12 @@
  tags: "swap"


# manage fstab
- name: "manage fstab"
  ansible.builtin.import_tasks: "fstab.yaml"
  tags: "fstab"


# apk
- name: "apk"
  ansible.builtin.import_tasks: "apk/packages.yaml"