From ee07534c1ef0195da7bb905788470d732a502308 Mon Sep 17 00:00:00 2001 From: Aine <aine@etke.cc> Date: Mon, 12 Aug 2024 13:51:17 +0300 Subject: [PATCH] add a note about just update --- justfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/justfile b/justfile index 8febafc..5f00ce1 100644 --- a/justfile +++ b/justfile @@ -10,9 +10,11 @@ optimization_vars_files_file_path := run_directory_path + "/optimization-vars-fi roles: _requirements-yml #!/usr/bin/env sh if [ -x "$(command -v agru)" ]; then + echo "[NOTE] This command just updates the roles, but if you want to update everything at once (playbook, roles, etc.) - use 'just update'" agru -r {{ justfile_directory() }}/requirements.yml else echo "[NOTE] You are using the standard ansible-galaxy tool to install roles, which is slow and lacks other features. We recommend installing the 'agru' tool to speed up the process: https://github.com/etkecc/agru#where-to-get" + echo "[NOTE] This command just updates the roles, but if you want to update everything at once (playbook, roles, etc.) - use 'just update'" rm -rf roles/galaxy ansible-galaxy install -r {{ justfile_directory() }}/requirements.yml -p roles/galaxy/ --force fi