common/tasks/fstab.yaml
Simon Cornet 2272aa6a58
All checks were successful
ci/woodpecker/push/linting Pipeline was successful
chore: migrate bare ansible_* facts to ansible_facts[] syntax
2026-05-19 09:19:03 +02:00

15 lines
328 B
YAML

---
# 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_facts['os_family'] == 'Alpine'"
- "'router' not in inventory_hostname"