From 9abea6c57e018f6033dfa8ffc6cdcdfc86ece969 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 6 Dec 2024 13:16:39 +0200 Subject: fix options --- Rakefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index f41f084..5b2ec0e 100644 --- a/Rakefile +++ b/Rakefile @@ -1,12 +1,10 @@ require_relative 'rcm/rcm' desc 'Set up wireguard mesh' -task :wireguard do |t| - rcm do +task :wireguard do + make_it_so do p option :verbose - conditions do - hostname is :earth - end + only_when { hostname is :earth } file '/etc/wg/wg0.conf' do content 'the content' -- cgit v1.2.3