feat: disable swap by default

This commit is contained in:
Simon Cornet 2025-07-11 21:49:04 +02:00
commit 1896b1178d
2 changed files with 4 additions and 1 deletions

View file

@ -29,3 +29,6 @@ firewall_host_rules:
# ntp
ntp_server: "pool.ntp.org"
timezone: "Europe/Amsterdam"
# swap
swap: false

View file

@ -8,7 +8,7 @@
# enable or disable swap
- name: "swap - set variable"
ansible.builtin.set_fact:
__swap: "{{ swap | default('true') }}"
__swap: "{{ swap }}"
# verify swapfile
- name: "swap - verify swapfile"