From 590ad3bcd6753b06f81e385c05ce4b5296b1172a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=B0=D0=B2=D0=B5=D0=BB=20=D0=90=D0=BD=D1=86=D1=83?= =?UTF-8?q?=D0=BF=D0=BE=D0=B2?= Date: Thu, 14 May 2026 16:42:56 +0300 Subject: [PATCH] add swap role --- playbooks/configuration/run-swap.yml | 12 ++++++++++++ tools/roles_lists/swap.yml | 4 ++++ 2 files changed, 16 insertions(+) create mode 100644 playbooks/configuration/run-swap.yml create mode 100644 tools/roles_lists/swap.yml diff --git a/playbooks/configuration/run-swap.yml b/playbooks/configuration/run-swap.yml new file mode 100644 index 00000000..7fd94987 --- /dev/null +++ b/playbooks/configuration/run-swap.yml @@ -0,0 +1,12 @@ +#!/usr/bin/env -S ansible-playbook -e @vars/extra.yaml +# +# Run it like usual executable script: +# +# > ./run-swap.yml +# +--- +- name: Configure swap + hosts: swap + + roles: + - { role: geerlingguy.swap, tags: ['swap'] } diff --git a/tools/roles_lists/swap.yml b/tools/roles_lists/swap.yml new file mode 100644 index 00000000..bec9f363 --- /dev/null +++ b/tools/roles_lists/swap.yml @@ -0,0 +1,4 @@ +--- +- src: https://github.com/geerlingguy/ansible-role-swap.git + version: master + name: geerlingguy.swap