Осваиваю AWX. При попытке выполнить template, получаю сообщение об ошибке:
ERROR! couldn't resolve module/action 'community.crypto.openssl_dhparam'. This often indicates a misspelling, missing collection, or incorrect module path.
Создал файл requirements.yml поместил его в основной каталог и каталог roles, но community.crypto не устанавливается.
Содержимое файла requirements.yml:
- src: https://github.com/ansible-collections/community.crypto
Вот вывод синхронизации проекта:
ok: [localhost] => {
"msg": "Repository Version 26af1a8960efbdb61dd8fd732d96c75b94476203"
}
PLAY [Install content with ansible-galaxy command if necessary] ****************
TASK [Check content sync settings] *********************************************
skipping: [localhost]
TASK [meta] ********************************************************************
skipping: [localhost]
TASK [fetch galaxy roles from requirements.(yml/yaml)] *************************
[WARNING]: Unable to find '/var/lib/awx/projects/_9__load_balancing/roles' in
expected paths (use -vvvvv to see paths)
TASK [fetch galaxy collections from collections/requirements.(yml/yaml)] *******
[WARNING]: Unable to find
'/var/lib/awx/projects/_9__load_balancing/collections' in expected paths (use
-vvvvv to see paths)
PLAY RECAP *********************************************************************
localhost : ok=3 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0
Что нужно сделать, чтобы избавиться от предупреждений
[WARNING]: Unable to find '/var/lib/awx/projects/_9__load_balancing/roles' in
expected paths (use -vvvvv to see paths)
TASK [fetch galaxy collections from collections/requirements.(yml/yaml)] *******
[WARNING]: Unable to find
'/var/lib/awx/projects/_9__load_balancing/collections' in expected paths (use
-vvvvv to see paths)
И как правильно установить зависимости из ansible-galaxy?