From 2b10305ee42ff517e306b8e25025a42eb1379788 Mon Sep 17 00:00:00 2001 From: mo8it Date: Sat, 4 May 2024 02:01:04 +0200 Subject: [PATCH] Use update scripts instead of dnf with ansible --- .config/zellij/layouts/update.kdl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.config/zellij/layouts/update.kdl b/.config/zellij/layouts/update.kdl index 7e9194b..2accc0a 100644 --- a/.config/zellij/layouts/update.kdl +++ b/.config/zellij/layouts/update.kdl @@ -33,9 +33,12 @@ layout { pane split_direction="vertical" { pane { - cwd "/home/mo8it/servers/ansible" - command "ansible-playbook" - args "playbooks/update_dnf.yaml" + command "ssh" + args "minisforum" "fish" "sync/scripts/update.fish" + } + pane { + command "ssh" + args "forwarder" "sudo" "./update.sh" } pane { cwd "/home/mo8it/servers/ansible"