瀏覽代碼

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
pull/2621/head
Slavi Pantaleev 2 年之前
父節點
當前提交
9efd5229ad
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      justfile

+ 2
- 2
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 # Runs the playbook with the given list of arguments
run +extra_args: 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 # Runs the playbook with the given list of comma-separated tags and optional arguments
run-tags tags *extra_args: run-tags tags *extra_args:
@@ -43,7 +43,7 @@ run-tags tags *extra_args:


# Runs the playbook in user-registration mode # Runs the playbook in user-registration mode
register-user username password admin_yes_or_no *extra_args: 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 # Starts all services
start-all *extra_args: (run-tags "start-all" extra_args) start-all *extra_args: (run-tags "start-all" extra_args)


Loading…
取消
儲存