Test role swap

It is slightly awkward to include the swap_size variable with the
playbook in "pull" mode since the hosts file cannot really be used
to set different swap sizes for different hosts at the same time.
I guess this is one of the downsides compared to "push".
master
Taha Ahmed 3 months ago
parent 9cc641333f
commit 75b0c01239

@ -4,3 +4,5 @@ all:
local:
hosts:
localhost:
# RAM is 16 GB
swap_size: 16384

@ -18,12 +18,17 @@
tags: always
roles:
# https://codeberg.org/ansible/common
- { role: common, become: true, tags: [ common ] }
# https://codeberg.org/ansible/common-systools
- { role: common-systools, become: true, tags: [ common ] }
- { role: dotfiles, tags: [ dotfiles ] }
# https://codeberg.org/ansible/locales
- { role: locales, become: true, tags: [ locales ] }
# https://codeberg.org/ansible/ssh
- { role: ssh, become: true, tags: [ ssh ] }
# - { role: swap, become: true, tags: [ swap ] }
# https://codeberg.org/ansible/swap
- { role: swap, become: true, tags: [ swap ] }
# - { role: mounts-remote, become: true, tags: [ mounts-remote ] }
# jietop will need a different desktop by default (not GNOME, but something else)
# but perhaps we still want rofi/dmenu anyway?

Loading…
Cancel
Save