From 9efd5229ada7669619821c43c13e0f1e1bd64080 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sat, 1 Apr 2023 06:34:59 +0300 Subject: [PATCH] Remove time from "just run" command People who need to time things should do it themselves, explicitly. Forcing `time` on people is a little rude. Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2618 --- justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index fed02008..46abd7bf 100644 --- a/justfile +++ b/justfile @@ -35,7 +35,7 @@ setup-all *extra_args: (run-tags "setup-all,ensure-matrix-users-created,start" e # Runs the playbook with the given list of arguments run +extra_args: - time ansible-playbook -i inventory/hosts setup.yml {{ extra_args }} + ansible-playbook -i inventory/hosts setup.yml {{ extra_args }} # Runs the playbook with the given list of comma-separated tags and optional arguments run-tags tags *extra_args: @@ -43,7 +43,7 @@ run-tags tags *extra_args: # Runs the playbook in user-registration mode register-user username password admin_yes_or_no *extra_args: - time ansible-playbook -i inventory/hosts setup.yml --tags=register-user --extra-vars="username={{ username }} password={{ password }} admin={{ admin_yes_or_no }}" {{ extra_args }} + ansible-playbook -i inventory/hosts setup.yml --tags=register-user --extra-vars="username={{ username }} password={{ password }} admin={{ admin_yes_or_no }}" {{ extra_args }} # Starts all services start-all *extra_args: (run-tags "start-all" extra_args)