ansible_cache/home_linux/k3s_stuff/disable_swap.yml
2024-09-18 10:37:20 +01:00

18 lines
264 B
YAML

---
- name: Disable swap on Raspberries
hosts: all
roles:
- common
become: yes
gather_facts: no
tasks:
- name: Disable swap
ansible.builtin.shell: sudo swapoff -a
- name: Reboot
ansible.builtin.reboot:
test_command: uptime