add a note about just update
This commit is contained in:
parent
13a4d62128
commit
ee07534c1e
1 changed files with 2 additions and 0 deletions
2
justfile
2
justfile
|
@ -10,9 +10,11 @@ optimization_vars_files_file_path := run_directory_path + "/optimization-vars-fi
|
||||||
roles: _requirements-yml
|
roles: _requirements-yml
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
if [ -x "$(command -v agru)" ]; then
|
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
|
agru -r {{ justfile_directory() }}/requirements.yml
|
||||||
else
|
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] 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
|
rm -rf roles/galaxy
|
||||||
ansible-galaxy install -r {{ justfile_directory() }}/requirements.yml -p roles/galaxy/ --force
|
ansible-galaxy install -r {{ justfile_directory() }}/requirements.yml -p roles/galaxy/ --force
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue